Skip to content

Command

명령어를 실행하는 명령어

Bash 빌트인 명령어 중 하나

command vs which vs alias vs type

root@zetawiki:~# command -V ls /var
ls is aliased to `ls $LS_OPTIONS'
-bash: command: /var: not found
root@zetawiki:~# command -V ls
ls is aliased to `ls $LS_OPTIONS'
root@zetawiki:~# alias ls
alias ls='ls $LS_OPTIONS'
root@zetawiki:~# type ls
ls is aliased to `ls --color=auto'

Favorite site

See also