The commands in your .cshrc file are executed every time you login to your unix account. You can see your .cshrc files using the "ls -a" command under unix. You can also find them on your H: drive, which is the same directory.
To set up your .cshrc files correctly, follow these steps:
cd
To make the copies you can use commands like this one:
cp .cshrc .cshrc.bkup
To copy the files, use commands like the following:
cp /usr/local/ruadmin/dot_files/.cshrc.linux .cshrc.linux
If you try to look at the files in the ruadmin directory, you
will need to do a "ls -a" command to make the dot files
visible.
To compile the file foo.adb, use the command
gnatmake fooThis will create an executable file called
foo
which
you can execute by simply entering the command
foo
The libraries used by gnatmake are not the ones normally set up by the default .cshrc.solaris file for solaris. To cause your .cshrc.solaris file to set up the correct libraries you will need to add the line
source /usr/local/bin/ada_envto the end of your
.cshrc.solarisfile. This line will take effect the next time you login to rucs2 (or you can do the command source .cshrc and it will execute the commands in the .cshrc file).
You do not need to do anything special to run gnatmake on the
linux machines.
submit itec320-01 file1 file2 file3 submit -ls itec320-01 submit itec320-01 -file2 submit -rm itec320-01
Directory listing | ls |
Long information | ls -l |
Information on a single file | ls -l file |
Display a file | cat file |
Copy file1 to file2 | cp file1 file2 |
Edit file1 | vim file1 |
Simple editor | pico file1 |
Make directory dir1 | mkdir dir1 |
Change to directory dir1 | cd dir1 |
Go to parent directory | cd .. |
Print working directory | pwd |
Remove file1 | rm file1 |