How to find command location in Linux and Unix
This is a small how to on finding your command location. Some times its required to find command location to use it as path is not set properly to /bin or /sbin or some other folder. And some times we install packages through scripts where the commands will be installed in a defined path other than /usr/bin or /usr/sbin etc.
command to check where the particular command is installed?
How about getting with other command along with manual pages?
some times we don’t know where the command is located but still we want to use it, at these times you can use which command to give entire path
the above two are very much handy when writing shell scripts when you are not aware/sure where the command located. Please share your thoughts on how you avoid this situation.
Latest posts by Surendra Anne (see all)
- Understanding AWS “The services” Part – II - June 8, 2016
- Understanding AWS(Amazon Web services) “The Cloud” Part – I - May 11, 2016
- 16 ls command examples for newbe - April 20, 2016
- Understanding DOCKER containers in Linux? - April 19, 2016
- What is puppet? Why Linux/Unix users require it? - April 13, 2016