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 Benutzer fanden dies hilfreich
War diese Antwort hilfreich?

Verwandte Artikel

Linux tar Command

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

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...

Linux su command

The su command is most commonly used to switch to another user. You will then be able to run...

Linux wc command

If you’re interested in finding the word count or lines of a file in your Linux environment you...

Powered by WHMCompleteSolution