Linux Which Command Examples
Command: whichCommand Usage: locate a command
Syntax: $ which -a filename
-a print all matching pathnames of each argument
Example For Which Command:
$ which -a gcc gdb ls open grep
/usr/bin/gcc
/usr/bin/gdb
/bin/ls
/bin/open
/bin/grep
No comments:
Post a Comment