Linux pwd Command
Learn Linux pwd Command with example
Published
Linux pwd Command
In Linux we use “pwd” command to print working directory. pwd stands for “print working directory”
pwd command Syntax
>> pwd
# just the directory where currently you are. By default, when you login you are under user home directory.
pwd Command in Linux (Documentation)
NAME
pwd - print name of current/working directory
SYNOPSIS
pwd [OPTION]...
DESCRIPTION
Print the full filename of the current working directory.
-L, --logical
use PWD from environment, even if it contains symlinks
-P, --physical
avoid all symlinks
--help display this help and exit
--version
output version information and exit
If no option is specified, -P is assumed.
NOTE: your shell may have its own version of pwd, which usually supersedes the version described here. Please
refer to your shell's documentation for details about the options it supports.