WHICH(1) General Commands Manual WHICH(1) which -- (). which [] [--] _ [...] Which . , , . PATH , bash(1). which.texinfo. --all, -a PATH, . --read-alias, -i , . which. : alias which='alias | which -i'. --skip-alias --read-alias, . , --read-alias which. --read-functions , . which. : which() { declare -f | which --read-functions $@ } export -f which --skip-functions --read-functions, . , --read-functions which. --skip-dot PATH, . --skip-tilde PATH, , , , HOME. --show-dot PATH , , <<./_>>, . --show-tilde , HOME. , which root. --tty-only , . --version,-v,-V <<>>. --help <<>>. Which , , -1, . ( C) ( Bourne) which : [ba]sh: which () { (alias; declare -f) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot $@ } export -f which [t]csh: alias which 'alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde' ~/ ./, which , , : > which q2 ~/bin/q2 > echo `which q2` /home/carlo/bin/q2 HOME HOME, which , . Which , . Carlo Wood . bash(1) Yuri Chornoivan ; , GNU General Public License Version 3 . . , , : . WHICH(1)