pwd Command in Linux

pwd stands for Print Working Directory. It prints the path of the working directory, starting from the root.
pwd is shell built-in command(pwd) or an actual binary(/bin/pwd).
$PWD is an environment variable which stores the path of the current directory.
This command has two flags.

pwd -L: Prints the symbolic path.
pwd -P: Prints the actual path.

https://www.youtube.com/watch?v=22jyErFb4S0

2 comments on “pwd Command in Linux

Comments are closed.