2.1.
The which command prints the full path of the shell commands, helping us to find out where it is on our file system.
It searches through the directories listed in the environment variable PATH.
We'll need the output of the which command, the command path, to download the source code using package managers.
To find and download the source code of a program on Linux, you can use the package manager command that corresponds to your Linux distribution.
On Debian-based systems, you can use the apt-get source command, and on Red Hat-based systems, you can use the yumdownloader --source command.
Using the man pages is straightforward; simply type the man command and include the command you need more information about.
For example, to display the manual for the ls command, type man ls .
Man pages include a powerful set of search capabilities to help you find exactly what you need.