See the csh man page for more information.
The following table lists UNIX commands.
|
Command |
Description |
|
bg |
Put the current job in the background |
|
break |
Resume execution (break out of while or foreach loop) |
|
breaksw |
Break out of switch statement |
|
case |
Identify a pattern in a switch statement |
|
cd |
Change Directory. Default changes user to home directory |
|
chdir |
Same as cd |
|
continue |
Resumes execution of while or for each loop |
|
default |
Labels the default case in a switch statement |
|
dirs |
Prints the directory stack |
|
echo |
Write supplied string to stdout |
|
end |
Ends a foreach or switch statement |
|
endif |
Ends an if statement |
|
eval |
Eval is usually passed an argument. It resolves the
variable then runs the resulting command |
|
exec |
Executes a command |
|
exit |
Exits a shell script |
|
fg |
Brings job to the foreground (see bg) |
|
foreach/end |
Runs a foreach loop |
|
glob |
Similar to echo, except no \ escapes are recognized. Often
used in scripts to force a value to remain the same for the rest of the
script |
|
goto |
Skips to a line beginning with whatever string you put
after the goto command |
|
hashstat |
Displays statistics that show the success level of
locating commands via the path variable |
|
history |
Displays a list of events |
|
if |
Begins a conditional statement |
|
Jobs-1 |
List all running or stopped jobs |
|
kill options id |
Terminate the process ID(s) or job ID(s) specified |
|
kill (proc id) |
Kill the process id number given, usually found through a ps
-auxw command. |
|
limit |
Displays limits set on a process or all limits if no
arguments are given. |
|
login |
Replaces users login shell with /bin/login |
|
logout |
Terminates shell login |
|
nice |
Changes execution priority for a specified command |
|
rehash |
Recomputes the hash table for the PATH variable (when you
create a new command, run rehash so the hash table finds the command. |
|
set |
Sets a variable to a value. |
|
setenv |
Assigns a value to an environment variable name |
|
source |
Reads and executes commands in a CSH script. For example,
if you add or modify your .cshrc file, type source .cshrc. |
|
stop |
Stops a background job from running. |
|
suspend |
Suspends the current foreground job. |
|
time |
Runs a command to show how much time it uses. Use this in
a shell script to tell how long it took to run. |
|
umask |
Displays or sets the file creation mask |
|
unalias |
Removes an alias from the alias list |
|
unhash |
Remove the internal hash table (and instead spends the
path in the PATH variable.) |
|
unlimit |
Removes allocation limits on resource. |
|
unset |
Removes one or more variables set by the set command |
|
unsetenv |
Removes an environment variable |
|
wait |
Waits until all background jobs are completed. |
|
while/end |
While loop |