Which whereis
If you need more details on their usage, you can check out their manual pages for a detailed documentation. By signing up, you agree to our Privacy Policy and European users agree to the data transfer policy. Divya divides her time between speculating the existence of aliens and writing about her technical findings. Affiliate Disclosure: Make Tech Easier may earn commission on products purchased through our links, which supports the work we do for our readers.
Is this article useful? Yes No. Never Miss Out Receive updates of our latest tutorials. Sign up for all newsletters.
I would like to receive newsletters via email. We will not share your data and you can unsubscribe at any time. Divya Lakshmanan Divya divides her time between speculating the existence of aliens and writing about her technical findings. Comments are closed. Such files may require the use of an additional program such as a shell to execute it.
The program to use can normally be determined by the file's extension. For example, files with a. The whereis command is equivalent to specifying which -a with the exception that the -p path option is not available. This can help you find conflicts between two executables of the same name.
PATH contains a list of directories for which to search when looking for command. Available on some UNIX systems. In fact, it can accept a list of commands and display the command output for looking into each of them. The where , whereis and whatis commands provide useful summaries of commands, showing where the executables are located and pointing to the relevant man pages. The which command can also verify which executable you are using when you type a command name.
Consult the man pages to learn about all the options available and get a more complete explanation of how these commands work. Sandra Henry-Stocker has been administering Unix systems for more than 30 years. She describes herself as "USL" Unix as a second language but remembers enough English to write books and buy groceries.
She lives in the mountains in Virginia where, when not working with or writing about Unix, she's chasing the bears away from her bird feeders. Here are the latest Insider stories.
More Insider Sign Out. Sign In Register.
0コメント