Sometimes, while working on the command line, we just need to quickly find out the location of the binary file for a command. Yes, the find command is an option in this case, but it’s a bit time consuming and will likely produce some non-desired results as well. There’s a specific command that’s designed for this purpose: whereis.