file |
file Execute contents of file. |
break |
break [n]
Exit from a for, while, or until loop in n levels. |
case |
case value in
pattern1) commands ; ;
.
.
.
patternn) commands ; ;
esac
For each item in list that matches pattern, execute command. |
cd |
cd [dir]
Change current directory to dir. |
continue |
continue [n] Resume nth iteration of a for, while, or until loop. |
echo |
echo args Print args on standard output. |
eval |
eval [arg ... ] Evaluate arguments, then execute results. |
exec |
exec [cmd] Execute cmd in place of current shell. |
exit |
exit [n] Exit the shell with exit status n, e.g., exit 1. |
export |
export [var ...] Export variable var to environment. |
for |
for variable [in list ... ] do commands
done For variable x (in optional list) do commands. |
if |
if condition then commands [elif condition2 then commands2] ... [else commands3]
fi If condition is met, do list of commands, or else if condition2 is met, do commands2, otherwise do commands3. (See test for a list of conditions.) |
hash |
hash cmds Temporarily add cmds to search path. |
login |
login [user ... ] Log in as another user. |
newgrp |
newgrp [group ...] Change your group ID to group; if no argument, change back to your default group. |
pwd |
pwd Print current working directory. |
read |
read [var ...] Read value of var from standard input. |
readonly |
readonly [var ... ] Mark variable var as read only. |
return |
return Stop execution of current shell function and return to calling level. |
set |
set [t] [options ] [arg ...] With no arguments, set prints the values of all variables known to the current shell. The following options can be enabled (-option) or disabled (+option). |