Linuxtopia - Red Hat Enterprise Linux Step by Step Guide -
Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions




NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+ ">

4.4. Determining Your Current Directory with pwd

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.

Figure 4-2. The Command pwd Displays Your Location

To display the location of your current working directory, enter the command pwd.

The output should look similar to:


  Published under the terms of the GNU General Public License Design by Interspire