最終更新:2015-08-09 (日) 16:19:03 (1880d)  

Bash/組み込みコマンド
Top / Bash / 組み込みコマンド

http://www.gnu.org/software/bash/manual/html_node/Bash-Builtins.html

help
job_spec [&]
(( expression ))
 . filename [arguments]
:
[ arg... ]
[[ expression ]]
for NAME [in WORDS ... ] ; do COMMANDS; done 
for (( exp1; exp2; exp3 )); do COMMANDS; done
function name { COMMANDS ; } or name () { COMMANDS ; }
until COMMANDS; do COMMANDS; done
while COMMANDS; do COMMANDS; done
if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ e>
{ COMMANDS ; }
  • alias [-p] [name[=value] ... ]
  • bg [job_spec ...]
  • bind [-lpvsPVS] [-m keymap] [-f filename] [-q name] [-u name] [-r key>
  • break [n]
  • builtin? [shell-builtin [arg ...]]
  • caller? [expr]
  • case? WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac
  • cd [-L|-P] [dir]
  • command [-pVv] command [arg ...]
  • compgen [-abcdefgjksuv] [-o option][-A action] [-G globpat] [-W wor>
  • complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G glob>
  • compopt? [-o|+o option] [-DE] [name ...]
  • continue? [n]
  • coproc? [NAME] command [redirections]
  • declare? [-aAfFilrtux?] [-p] [name[=value] ...]
  • dirs [-clpv] [+N] [-N]
  • disown [-h] [-ar] [jobspec ...]
  • echo [-neE] [arg ...]
  • enable? [-a] [-dnps] [-f filename] [name ...]
  • eval [arg ...]
  • exec [-cl] [-a name] [command [arguments ...]] [redirection ...]
  • exit [n]
  • export [-fn] [name[=value] ...] or export -p
  • false?
  • fc? [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]
  • fg [job_spec]
  • getopts optstring name [arg]
  • hash? [-lr] [-p pathname] [-dt] [name ...]
  • help? [-dms] [pattern ...]
  • history [-c] [-d offset] [n] or history -anrw [filename] or history >
  • jobs [-lnprs] [jobspec ...] or jobs -x command [args]
  • kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill ->
  • let arg [arg ...]
  • local [option] name[=value] ...
  • logout? [n]
  • mapfile? [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback]>
  • popd? [-n] [+N | -N]
  • printf [-v var] format [arguments]
  • pushd [-n] [+N | -N | dir]
  • pwd? [-LP]
  • read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] >
  • readarray? [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callbac>
  • readonly [-af] [name[=value] ...] or readonly -p
  • return [n]
  • select NAME [in WORDS ... ;] do COMMANDS; done
  • set [--abefhkmnptuvxBCHP] [-o option-name] [arg ...]
  • shift? [n]
  • shopt [-pqsu] [-o] [optname ...]
  • source filename [arguments]
  • suspend? [-f]
  • test [expr]
  • time [-p] pipeline
  • times?
  • trap? [-lp] [[arg] signal_spec ...]
  • true
  • type [-afptP] name [name ...]
  • typeset [-aAfFilrtux?] [-p] name[=value] ...
  • ulimit [-SHacdefilmnpqrstuvx] [limit]
  • umask [-p] [-S] [mode]
  • unalias? [-a] name [name ...]
  • unset? [-f] [-v] [name ...]
  • variables? - Names and meanings of some shell variables
  • wait? [id]

関連