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

7번째 줄: 7번째 줄:


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

2014년 5월 7일 (수) 17:06 판

1 개요

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

2 목록

3 같이 보기

4 주석

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