How can I see my directory in Linux?

How can I see my directory in Linux?
Answer
By default, the Bash prompt in Red Hat Enterprise Linux shows just your current directory, not the entire path. To determine the exact location of the current directory at a shell prompt
and type the command pwd
. This example shows that you are in the user sam’s directory, which is in the /home/ directory.
 

Tìm kiếm

Back
Top