UNIX Primer Basic UNIX commands
(prepared by C. J.Young)
Command
Description
ls
list the current directory
ls -a
list the current directory, including "hidden" files (which begin with '.')
ls -l
list the current directory with details
pwd
tell me the present working directory
cd
change directory (followed by directory name)
cd ..
move one directory up in the path
rm
delete (remove), followed by filename to be deleted
man xxx
read the manual page(s) for the xxx command
The .login File
This is your "login" file. It runs every time you log in, and sets up things you need to run your programs. This is a "hidden" file; to view it, you need to be in your home directory, and then execute the command "ls -a" (or "ls -al").
To do the 2D Simulation Lab, you must have the following line in your .login file:
set path=($path /usr/local/SILVACO/bin)
It is a good practice to put additions at the end of the file. Note: Mistakes in the .login file can make it impossible for you to login.
To get these lines into the file, you must open .login in a text editor, of which there are several. To edit .login using the vi editor, for example, execute "vi .login".
The .cshrc File
You may also choose to customize your .cshrc by creating aliases. For example, the line
alias cde 'cd /Net/hydra/engi_repos1/'
will instruct UNIX to change directories to /Net/hydra/engi_repos1/ simply by typing "cde" in the command line. Again, all changes should be made at the end of the file.