Linux Tips and Tricks

Linux Tips and Tricks

Find the location of a executable file

October20
In linux, we have a command called which

This which command is used to tell the location of the executables

how to use ?

example :

kamaraj@kamaraj-laptop:~/Desktop/testing$ which ls
/bin/ls
kamaraj@kamaraj-laptop:~/Desktop/testing$ which ping
/bin/ping
kamaraj@kamaraj-laptop:~/Desktop/testing$ which cat
/bin/cat

posted under Uncategorized

Email will not be published

Website example

Your Comment:


Recent Comments

    Categories