리눅스 type

Jmnote (토론 | 기여)님의 2016년 5월 14일 (토) 15:30 판
  다른 뜻에 대해서는 윈도우 TYPE 문서를 참조하십시오.
  다른 뜻에 대해서는 gettype() 문서를 참조하십시오.

1 개요

리눅스 type
  • 리눅스 명령어 정보 확인
  • 파일위치, bash 빌트인 명령어 여부, alias 등의 정보를 확인할 수 있음

2 실행예시

[root@zetawiki ~]# type bash
bash is /bin/bash
[root@zetawiki ~]# type httpd
httpd is /usr/sbin/httpd
쉘 빌트인
[root@zetawiki ~]# type type
type is a shell builtin
[root@zetawiki ~]# type test
test is a shell builtin
[root@zetawiki ~]# type -a test
test is a shell builtin
test is /usr/bin/test
alias
[root@zetawiki ~]# type ls
ls is aliased to `ls --color=auto'
hashed
[root@zetawiki ~]# type man
man is hashed (/usr/bin/man)

3 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}