Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

get target of command bash

bash$ type -a lshw
lshw is /usr/bin/lshw
bash$ type -a ls
ls is aliased to `ls --color=auto'
ls is /bin/ls
bash$ zsh
zsh% type -a which
which is a shell builtin
which is /usr/bin/which
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #target #command #bash
ADD COMMENT
Topic
Name
8+2 =