Liux 명령 에서 find, which, whereis, locate 는 어떤 차이 가 있 습 니까?
13648 단어 Linux
whatis whatis
whatis (1) - display one-line manual page descr...
whatis which
which (1) - locate a command
whatis whereis
whereis (1) - locate the binary, source, and man...
whatis man
man (1) - an interface to the on-line refere...
man (7) - macros to format man pages
whatis locate
locate (1) - find files by name
whatis find
find (1) - search for files in a directory hi...
whatis type
type: nothing appropriate.
whatis who
who (1) - show who is logged on
whatis top
top (1) - display Linux processes
which whatis
/usr/bin/whatis
which which
/usr/bin/which
which whereis
/usr/bin/whereis
which man
/usr/bin/man
which locate
/usr/bin/locate
which find
/usr/bin/find
which type
which ls
/bin/ls
which cat
/bin/cat
which top
/usr/bin/top
which python
/usr/bin/python
which python3
/usr/bin/python3
which pip
/usr/bin/pip
which mysql
/usr/bin/mysql
which mysqld
/usr/sbin/mysqld
which vim
/usr/bin/vim
which sqlite
whereis whatis
whatis: /usr/bin/whatis /usr/share/man/man1/whatis.1.gz
whereis which
which: /usr/bin/which /bin/which /usr/share/man/man1/which.1.gz
whereis whereis
whereis: /usr/bin/whereis /usr/share/man/man1/whereis.1.gz
whereis man
man: /usr/bin/man /usr/local/man /usr/share/man /usr/share/man/man1/man.1.gz /usr/share/man/man7/man.7.gz
whereis locate
locate: /usr/bin/locate /usr/share/man/man1/locate.1.gz
whereis find
find: /usr/bin/find /usr/share/man/man1/find.1.gz /usr/share/info/find.info.gz
whereis type
type:
whereis vim
vim: /usr/bin/vim.basic /usr/bin/vim /usr/bin/vim.tiny /etc/vim /usr/share/vim /usr/share/man/man1/vim.1.gz
whereis mysql
mysql: /usr/bin/mysql /usr/lib/mysql /etc/mysql /usr/include/mysql /usr/share/mysql /usr/share/man/man1/mysql.1.gz
whereis mysqld -b
mysqld: /usr/sbin/mysqld /usr/share/man/man8/mysqld.8.gz
whereis mysqld
mysqld: /usr/sbin/mysqld /usr/share/man/man8/mysqld.8.gz
whereis python
python: /usr/bin/python /usr/bin/python3.5m /usr/bin/python3.5 /usr/bin/python2.7 /usr/bin/python2.7-config /usr/lib/python3.5 /usr/lib/python2.7 /etc/python /etc/python3.5 /etc/python2.7 /usr/local/lib/python3.5 /usr/local/lib/python2.7 /usr/include/python3.5m /usr/include/python2.7 /usr/share/python /usr/share/man/man1/python.1.gz
whereis python2
python2: /usr/bin/python2 /usr/bin/python2.7 /usr/bin/python2.7-config /usr/lib/python2.7 /etc/python2.7 /usr/local/lib/python2.7 /usr/include/python2.7 /usr/share/man/man1/python2.1.gz
whereis python3
python3: /usr/bin/python3.5m /usr/bin/python3 /usr/bin/python3.5 /usr/lib/python3 /usr/lib/python3.5 /etc/python3 /etc/python3.5 /usr/local/lib/python3.5 /usr/include/python3.5m /usr/share/python3 /usr/share/man/man1/python3.1.gz
man whatis
output a lot
man which
output a lot
man whereis
output a lot
man man
output a lot
man locate
output a lot
man find
output a lot
man type
No manual entry for type
sudo updatedb
locate whatis
output a lot
locate which
output a lot
locate whereis
/usr/bin/whereis
/usr/share/bash-completion/completions/whereis
/usr/share/man/man1/whereis.1.gz
locate man
output a lot
locate locate
output a lot
locate find
output a lot
locate type
output a lot
locate passwd
will output a lot
locate -n 5 passwd
/etc/passwd
/etc/passwd-
/etc/cron.daily/passwd
/etc/init/passwd.conf
/etc/pam.d/chpasswd
locate vim
output a lot
find whatis
find: ‘whatis’: No such file or directory
find which
find: ‘which’: No such file or directory
find whereis
find: ‘whereis’: No such file or directory
find man
find: ‘man’: No such file or directory
find locate
find: ‘locate’: No such file or directory
find find
find: ‘find’: No such file or directory
find type
find: ‘type’: No such file or directory
type whatis
whatis is hashed (/usr/bin/whatis)
type which
which is hashed (/usr/bin/which)
type whereis
whereis is hashed (/usr/bin/whereis)
type man
man is hashed (/usr/bin/man)
type locate
locate is hashed (/usr/bin/locate)
type find
find is hashed (/usr/bin/find)
type type
type is a shell builtin
type cd
cd is a shell builtin
type grep
grep is aliased to `grep --color=auto'
type cat
cat is /bin/cat
type vim
vim is hashed (/usr/bin/vim)
type -p vim
/usr/bin/vim
type python
python is /usr/bin/python
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
바이너리 파일cat 또는tail, 터미널 디코딩 시 처리 방법cat으로 바이너리 파일을 보려고 할 때 코드가 엉망이 되어 식은땀이 났다. 웹에서 스크롤된 정보의 처리 방법과alias의 설정을 요약합니다. reset 명령을 사용하여 터미널을 재설정합니다.이렇게 하면 고치지 못하...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.