pwd
Shell builtin: pwd
Prints the path of the current directory.
Usage
pwd
Description
Show the path of the directory the shell is in, as kept in $PWD.
Options in the simulator
No options.
2 more options of the real program, not in the simulator yet
Program: pwd
Prints the path of the current directory.
Usage
pwd [OPTION]...
Description
Print the full path of the current directory.
Options in the simulator
1 more options of the real program, not in the simulator yet
Examples
pwd
/home/lerner pwd
/home/lerner
cd /var/log && pwd
/var/log pwd
/home/lerner Where you learn it
Lessons
- Where am I? pwd, ls and cd Terminal start
- Finding your way around a strange server Linux Basics, Module 1: Survival basics