^c | Generates an interrupt. This usually terminates a running program. |
---|---|
elm | Start the mail reading/sending program. |
cd | Change directory to your home directory. |
cd dir | Change directory to directory dir
where dir is a directory listed
when doing ls. Note: "." denotes the current directory and ".." denotes the parent of the current directory. |
pwd | Print working directory, the directory you are currently in. |
mkdir dir | Create directory dir in the current directory. I usually give directories a name which begins with an uppercase letter so ls will list them first.
|
grep pattern file | Search text file for pattern. |
h | This is an alias for history .
Typing, for example, !23 will cause command 23 in the
history list to be rerun.
|
alias alais_name command | Makes typing alais_name the same as typing command. Typing alias by itself shows what aliases you have. Aliases only apply to the current shell, add aliases to the bottom of your .cshrc file to have them created everytime you log in. |
command > file
|
Redirect the output of
command
from
stdout (by default the window)
to file.Do not confuse with <, ex. ls -l > more
|
command < file
|
Redirect the input to
command
from
stdin (by default the keyboard)
to file.Do not confuse with >. |
command1 | command2
|
Pipe (redirect) the output of
command1
from
stdout (by default the window)
to command2, ex.ls -l | more
|