Linux › Section B · Basic commands and the directory hierarchy › Topic B.3

Navigating directories and wildcards

Every file on a Linux system sits somewhere in one tree of directories, and moving around that tree quickly is a core skill. This topic covers paths, the commands for changing and creating directories, and the wildcard patterns the shell uses to match many file names at once.

In this topic

  • One tree from the root
  • Absolute and relative paths
  • cd, pwd and the home directory
  • Worked example: moving around a tree
  • Creating and removing directories
  • Warning: rm -r
  • Wildcards: the shell's globbing
  • Expansion happens before the command runs
  • Worked example: predicting expansions
  • Common mistakes to avoid
  • Key takeaways

This topic is part of Wuanberri Pro. Checking your access…

← Previous topicNext topic →