Quick Answer: What Is the Command to Check Current Directory in Linux?
Contents the Pwd Command Is Used to Display the Current Working Directory. How Do I Find the Current Directory in Linux? by Default, the Bash Prompt in Red Hat...
Contents
The pwd command is used to display the current working directory.
How do I find the current directory in Linux?
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.
Must Read
How do I find the current directory in Unix?
cd [path] changes the current working directory. ls [path] prints a listing of a specific file or directory; ls on its own lists the current working directory. pwd prints the user’s current working directory. / on its own is the root directory of the whole file system.