Print Working Directory in Shell

Level 13 keystrokes

pwd prints the current working directory path.

Shell code

# pwd = print working directory
# Prints the absolute path of the current directory, e.g. /home/user/projects
1pwd

Output

/home/user/projects
Practice typing this code

Practice typing this code. Results are not recorded in the rankings.

More Shell examples at level 1

← Shell typing practice