One of the most important utility to locate programs in Linux is: which.

For example, if you want to find exactly where the diff program resides on the file system, please run:

$ which diff

If which does not find the program, whereis is a good alternative because it looks for packages in a broader range of system directories:

$ whereis diff

(Visited 153 times, 1 visits today)
How to locate programs in Linux
Tagged on:                 

Leave a Reply

Your email address will not be published. Required fields are marked *