whereis - is used to find the location of the binary, source, and manual page files
syntax $ whereis [OPTIONS] FILE_NAME...
To find the directories where the whereis command search $ whereis -l
To get information about the commands $ whereis du $ whereis free $ whereis bash
To get output for multiple commands $ whereis du free bash
To search only for sources $ whereis -s free
To search only for man files $ whereis -m du
To search only for binaries $ whereis -b cp $ whereis -b free
regards, T.Dhanasekar