Monday 7 June 2021

Pwd Command in Linux Linux for Beginners 2021,

Pwd Command in Linux | Linux for Beginners 2021

What is pwd?

 

‘pwd‘ stands for ‘Print Working Directory‘. As the name states, command ‘pwd‘ prints the current working directory or simply the directory user is, at present. It prints the current directory name with the complete path starting from root (/). This command is built in shell command and is available on most of the shell – bash, Bourne shell, ksh,zsh, etc.

Basic syntax of pwd:

 

# pwd [OPTION]

 

Options used with pwd

 Options                Description

 -L (logical)            Use PWD from environment, even if it contains symbolic links

 -P (physical)       Avoid all symbolic links

 –help    Display this help and exit

 –version              Output version information and exit

 

If both ‘-L‘ and ‘-P‘ options are used, option ‘L‘ is taken into priority. If no option is specified at the prompt, pwd will avoid all symlinks, i.e., take option ‘-P‘ into account.

computer s

 

Linux for Beginners 2021,

linux command line tutorial for beginners ,

 linux terminal linux commands for beginners ,

 linux tutorial for beginners  ,

 pwd command in git bash,

 pwd command in hindi,

 pwd command in linux ,

 pwd command in linux in hindi,

 pwd command in linux with examples,

 pwd command in python,               

 pwd command in Ubuntu,

pwd command in unix,

 pwd command in windows  terminal,