Using whereis, whatis, and which to find out about commands on Linux
Wednesday, 20 April 2022
Add Comment
When you're trying to find your way around the Linux file system and want some information on specific commands, the whereis, whatis, and which commands can help. Each provides a different view of the command you're asking about. In this post, I'll compare these commands and explain what they tell us and what they don't tell us.
which
The which command is the simplest of the three. When you use it to ask about a Linux command, it will run down your search path looking for executable files by the name you specify. These can be commands that are available on your system as well as scripts. As long as the files provide you with execute privilege, they fit the bill. Here are some examples:
from Network World https://ift.tt/akRtH5T
Genrerating Link.... 15 seconds.
Your Link is Ready.
0 Response to "Using whereis, whatis, and which to find out about commands on Linux"
Post a Comment