Change Directory in Shell

Level 113 keystrokes

cd changes the current working directory to the specified path.

Shell code

# cd = change directory; a path starting with / is absolute
# Moves the current shell into /home/user (prints nothing on success)
1cd /home/user
Practice typing this code

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

Symbols in this code

The symbols you type in this Shell code and how often they appear.

  • /× 2

More Shell examples at level 1

← Shell typing practice