333
1.877.877.2269
BLACKBOX.COM
NEED HELP?
LEAVE THE TECH TO US
LIVE 24/7
TECHNICAL
SUPPORT
1.877.877.2269
APPENDIX A: COMMANDS AND SOURCE CODE
TABLE A-2. SHELL COMMANDS
COMMAND
ARGUMENTS
alias
[-p] [name[=value] …]
bg
[jobspec …]
bind
[-lpvsPVS] [-m keymap] [-f fi break [n]
case
word in [ [(] pattern [| pattern]…) command-list ;;]… esac
cd
[-L|[-P [-e]] [-@] [directory]
command
[-pVv] command [arguments …]
compgen
[option] [word]
complete
[-abcdefgjksuv] [-o comp-option] [-DE] [-A action] [-G globpat] [-W wordlist]
[-F function] [-C command] [-X filterpat]
[-P prefix] [-S suffix] name [name …]
complete -pr [-DE] [name …]
continue
[n]
declare
[-aAfFgilnrtux] [-p] [name[=value] …]
dirs
[-clpv] [+N | -N]
disown
[-ar] [-h] [jobspec … | pid … ]
echo
[-neE] [arg …]
enable
[-a] [-dnps] [-f filename] [name …]
eval
[arguments]
exec
[-cl] [-a name] [command [arguments]]
exit
[n]
export
[-fn] [-p] [name[=value]]
false
fc
[-e ename] [-lnr] [first] [last] -s [pat=rep] [command]
fg
[jobspec]
for
name [ [in [words …] ] ; ] do commands; done
function
name { commands ; } or NA
getopts
optstring name [args]
hash
[-r] [-p filename] [-dt] [name]
help
[-dms] [pattern]
history
[n] -c -d offset [-anrw] [filename] -ps arg
if
test-commands; then consequent-commands; [elif more-test-commands;
then
more-consequents;] [else alternate-consequents;] fi
kill
[-s sigspec] [-n signum] [-sigspec] jobspec or pid
-l|-L [exit_status]
local
[option] name[=value] …
logout
popd
[-n] [+N | -N]