Red Hat Enterprise Linux 4: Red Hat Enterprise Linux Step By Step Guide | ||
---|---|---|
Prev | Chapter 4. Shell Prompt Basics | Next |
As you browse directories, it is easy to get lost or forget the name of your current directory. By default, the Bash prompt in Red Hat Enterprise Linux shows only your current directory, not the entire path. For example, the path to the application gedit is /usr/bin/gedit. The path to user someone's home directory is /home/someone/. Refer to Section 3.2.1 Paths for more information on paths.
To display the location of your current working directory, enter the command pwd.
The output should look similar to:
/home/user |