complete, continue, declare, dirs, disown, echo, enable, eval, exec,
exit, export, fc, fg, getopts, hash, help, history, jobs, kill, let,
local, logout, popd, printf, pushd, pwd, read, readonly, return, set,
shift, shopt, source, suspend, test, times, trap, type, typeset,
ulimit, umask, unalias, unset, wait - bash built-in commands, see
bash

BASH BUILTIN COMMANDS
Unless otherwise noted, each builtin command documented in this sec-
tion as accepting options preceded by - accepts -- to signify the end
of the options.
: [arguments]

. filename [arguments]
source filename [arguments]

alias [-p] [name[=value] ...]

bg [jobspec]

bind [-m keymap] [-lpsvPSV]
bind [-m keymap] [-q function] [-u function] [-r keyseq]
bind [-m keymap] -f filename
bind [-m keymap] -x keyseq:shell-command
bind [-m keymap] keyseq:function-name
bind readline-command


break [n]

builtin shell-builtin [arguments]

cd [-L|-P] [dir]

caller [expr]

command [-pVv] command [arg ...]

compgen [option] [word]



complete [-abcdefgjksuv] [-o comp-option] [-A action] [-G globpat] [-W
wordlist] [-P prefix] [-S suffix]
complete -pr [name ...]




continue [n]

declare [-afFirtx] [-p] [name[=value] ...]
typeset [-afFirtx] [-p] [name[=value] ...]


dirs [-clpv] [+n] [-n]


disown [-ar] [-h] [jobspec ...]

echo [-neE] [arg ...]

enable [-adnps] [-f filename] [name ...]

eval [arg ...]

exec [-cl] [-a name] [command [arguments]]

exit [n]

export [-fn] [name[=word]] ...
export -p

fc [-e ename] [-nlr] [first] [last]
fc -s [pat=rep] [cmd]




fg [jobspec]

getopts optstring name [args]







hash [-lr] [-p filename] [-dt] [name]

help [-s] [pattern]

history [n]
history -c
history -d offset
history -anrw [filename]
history -p arg [arg ...]
history -s arg [arg ...]


jobs [-lnprs] [ jobspec ... ]
jobs -x command [ args ... ]



kill [-s sigspec | -n signum | -sigspec] [pid | jobspec] ...
kill -l [sigspec | exit_status]

let arg [arg ...]

local [option] [name[=value] ...]

logout Exit a login shell.

popd [-n] [+n] [-n]


printf format [arguments]


pushd [-n] [dir]
pushd [-n] [+n] [-n]


pwd [-LP]

read [-ers] [-u fd] [-t timeout] [-a aname] [-p prompt] [-n nchars]
[-d delim] [name ...]


readonly [-apf] [name[=word] ...]

return [n]

set [--abefhkmnptuvxBCHP] [-o option] [arg ...]


shift [n]

shopt [-pqsu] [-o] [optname ...]




suspend [-f]
test expr
[ expr ]




times Print the accumulated user and system times for the shell and

trap [-lp] [[arg] sigspec ...]

type [-aftpP] name [name ...]

ulimit [-SHacdflmnpstuv [limit]]


umask [-p] [-S] [mode]

unalias [-a] [name ...]

unset [-fv] [name ...]

wait [n]

SEE ALSO
bash, sh