Linux pwd command

When managing your directories in a Linux system you can use the pwd command to identify what your shell’s current directory is. This handy command is one of the basic and fundamental commands that any beginner user should master. In this article, we will cover the basic usage of the Linux pwd command.

Print working directory

By default, pwd works as if the -P option is enabled

pwd

Print working directory without displaying symlinks

pwd -P

This is one of the most used commands in addition to the Linux cd command. Using both commands is the essentials of navigating through a Linux system.

  •  
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Linux tar Command

The Linux tar command is used to compress and extract files to and from an archive. In this...

Linux top command

If you wish to monitor the performance of your VPS or Dedicated server and track processes, RAM...

Linux ping command

If you wish to test your connection to a server from your Linux system you can use the Linux ping...

Linux file command

The file command is used to check a file’s type and contents in Linux environment. It is most...

Linux export command

When you’re managing your shell’s variables and you wish to save them to your environment you can...