Create Directory in Shell

Level 116 keystrokes

mkdir -p creates directories including parent directories if needed.

Shell code

# mkdir = make directory; -p also creates missing parents (src)
# With -p there is no error if src/lib already exists
1mkdir -p src/lib
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.

  • -× 1
  • /× 1

More Shell examples at level 1

← Shell typing practice