How do I find the path in Linux?

How do I find the path in Linux?
Answer
To find the absolute path of command in Linux/Unix system, we use which command. Note: The echo $PATH command will show the directory path. The which command, locate the command from these directories. Example : In this example,we will find the absolute path of useradd command.
 

Tìm kiếm

Back
Top