pwd command tutorial in linux/unix with examples and use cases

linux pwd command – print name of current/working directory

Linux pwd command is mainly used to print the full filename of the current working directory.

Syntax

pwd [OPTION]…

Options

  • -L, –logical
    use PWD from environment, even if it contains symlinks
  • -P, –physical
    avoid all symlinks

Examples & Use Cases

Print the full filename of the current working directory

➜  pwd

Related post


Linux common commands tutorial and use examples
du command tutorial in linux/unix with examples and use cases
mkdir command tutorial in linux/unix with examples and use cases
rmdir command tutorial in linux/unix with examples and use cases
touch command tutorial in linux/unix with examples and use cases
cd command tutorial in linux/unix with examples and use cases
pwd command tutorial in linux/unix with examples and use cases
ls command tutorial in linux/unix with examples and use cases
rm command tutorial in linux/unix with examples and use cases
df command tutorial in linux/unix with examples and use cases
Linux system directory structure

Add a Comment

Your email address will not be published. Required fields are marked *