The whereis command allows you to search for the location of programs that are not contained within any of the directories listed in the $PATH variable.

$ whereis ifconfig

ifconfig: /sbin/ifconfig /usr/share/man/man8/ifconfig.8.gz

Whereis Command

Leave a Reply

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

thirty one − = twenty seven