Finding location of command executed
Possible Duplicate:
Can a Bash script tell what directory it's stored in?
Is there a command-line function ( bash ) to find the location of the command you've executed?
I understand I could check my $PATH for things I've imported manually but there must be some way to do this. A tricky echo command or something?
除whereis ,还请参阅which type 。
下一篇: 查找执行的命令的位置
