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

 
(사용자 3명의 중간 판 24개는 보이지 않습니다)
1번째 줄: 1번째 줄:
==개요==
==개요==
;bash builtin commands; BASH_BUILTINS
;bash builtin commands; BASH_BUILTINS, builtin shell commands
;Bash 빌트인 명령어; Bash 빌트인, 배시 빌트인, 배쉬 내장 명령어
;Bash 빌트인 명령어, Bash 내장 명령어, Bash 빌트인, 배시 빌트인, 배쉬 내장 명령어, 빌트인 쉘 명령어, 내장 쉘 명령어
*Bash에 내장된 명령어
*Bash에 내장된 명령어
*bash 쉘 자체적으로 지원하는 명령어이므로, 실행파일이 따로 없는 경우가 많다.
*bash 쉘 자체적으로 지원하는 명령어이므로, 실행파일이 따로 없는 경우가 많다.
:예외 /bin/echo 등
:예외 [[리눅스 echo]]


<source lang='dos'>
<syntaxhighlight lang='console'>
[root@jmnote ~]# whereis alias
[root@zetawiki ~]# type alias
alias: /usr/share/man/man1/alias.1.gz
alias is a shell builtin
</source>
[root@zetawiki ~]# which alias
/usr/bin/which: no alias in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
</syntaxhighlight>
<syntaxhighlight lang='console'>
[root@zetawiki ~]# type echo
echo is a shell builtin
[root@zetawiki ~]# which echo
/bin/echo
</syntaxhighlight>
:→ alias 명령어는 실행파일이 따로 없음<ref>/usr/share/man/man1/alias.1.gz 는 매뉴얼 파일임</ref>. (빌트인 명령어)
:→ alias 명령어는 실행파일이 따로 없음<ref>/usr/share/man/man1/alias.1.gz 는 매뉴얼 파일임</ref>. (빌트인 명령어)
:→ echo 명령어는 실행파일이 있음


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


==같이 보기==
==같이 보기==
*[[리눅스 주요 명령어]]
*[[리눅스 주요 명령어]]
*[[GNU 코어유틸]]
*[[GNU 코어유틸]]
*[[리눅스 help]]
*[[bash]]
*[[bash]]
*[[Bashism]]


==주석==
==참고==
<references/>
* {{영어위키백과|Shell builtin}}


[[분류: Bash 빌트인]]
[[분류: Bash 빌트인]]

2023년 2월 14일 (화) 23:18 기준 최신판

1 개요[ | ]

bash builtin commands; BASH_BUILTINS, builtin shell commands
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 목록[ | ]

3 같이 보기[ | ]

4 참고[ | ]

  1. /usr/share/man/man1/alias.1.gz 는 매뉴얼 파일임
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}