"Bash 빌트인 명령어"의 두 판 사이의 차이

22번째 줄: 22번째 줄:


==목록==
==목록==
*[[alias]]
{| class='wikitable'
*[[bg]]
| [[alias]] || [[kill]]
*[[bind]]
|-
*[[break]]
| [[bg]] || [[let]]
*[[builtin]]
|-
*[[cd]]
| [[bind]] || [[local]]
*[[command]]
|-
*[[compgen]]
| [[break]] || [[logout]]
*[[complete]]
|-
*[[continue]]
| [[builtin]] || [[popd]]
*[[declare]]
|-
*[[dirs]]
| [[cd]] || [[printf]]
*[[disown]]
|-
*[[echo]]
| [[command]] || [[pushd]]
*[[enable]]
|-
*[[eval]]
| [[compgen]] || [[pwd]]
*[[exec]]
|-
*[[exit]]
| [[complete]] || [[read]]
*[[export]]
|-
*[[fc]]
| [[continue]] || [[readonly]]
*[[fg]]
|-
*[[getopts]]
| [[declare]] || [[return]]
*[[hash]]
|-
*[[help]]
| [[dirs]] || [[set]]
*[[history]]
|-
*[[jobs]]
| [[disown]] || [[shift]]
*[[kill]]
|-
*[[let]]
| [[echo]] || [[shopt]]
*[[local]]
|-
*[[logout]]
| [[enable]] || [[source]]
*[[popd]]
|-
*[[printf]]
| [[eval]] || [[suspend]]
*[[pushd]]
|-
*[[pwd]]
| [[exec]] || [[test]]
*[[read]]
|-
*[[readonly]]
| [[exit]] || [[times]]
*[[return]]
|-
*[[set]]
| [[export]] || [[trap]]
*[[shift]]
|-
*[[shopt]]
| [[fc]] || [[type]]
*[[source]]
|-
*[[suspend]]
| [[fg]] || [[typeset]]
*[[test]]
|-
*[[times]]
| [[getopts]] || [[ulimit]]
*[[trap]]
|-
*[[type]]
| [[hash]] || [[umask]]
*[[typeset]]
|-
*[[ulimit]]
| [[help]] || [[unalias]]
*[[umask]]
|-
*[[unalias]]
| [[history]] || [[unset]]
*[[unset]]
|-
*[[wait]]
| [[jobs]] || [[wait]]
|}


==같이 보기==
==같이 보기==

2015년 12월 28일 (월) 10:50 판

1 개요

bash builtin commands; BASH_BUILTINS
Bash 빌트인 명령어, Bash 내장 명령어, Bash 빌트인, 배시 빌트인, 배쉬 내장 명령어
  • Bash에 내장된 명령어
  • bash 쉘 자체적으로 지원하는 명령어이므로, 실행파일이 따로 없는 경우가 많다.
예외 리눅스 echo
[root@zetawiki ~]# type alias
alias is a shell builtin
[root@zetawiki ~]# which alias
/usr/bin/which: no alias in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
[root@zetawiki ~]# type echo
echo is a shell builtin
[root@zetawiki ~]# which echo
/bin/echo
→ alias 명령어는 실행파일이 따로 없음[1]. (빌트인 명령어)
→ echo 명령어는 실행파일이 있음

2 목록

alias kill
bg let
bind local
break logout
builtin popd
cd printf
command pushd
compgen pwd
complete read
continue readonly
declare return
dirs set
disown shift
echo shopt
enable source
eval suspend
exec test
exit times
export trap
fc type
fg typeset
getopts ulimit
hash umask
help unalias
history unset
jobs wait

3 같이 보기

4 주석

  1. /usr/share/man/man1/alias.1.gz 는 매뉴얼 파일임