I’m working through Chapter 3 of the Red Hat RHCSA 10 Cert Guide, the section “Managing Files”. While reading I wrote my questions in the margins. This blog keeps those questions, the answers I found, and real output for every command, so I can come back to it.

Managing files in Linux, in seven steps

As an administrator, these are the common file management tasks you need:

  1. Listing files and directories
  2. Creating files and directories
  3. Copying files and directories
  4. Moving files and directories
  5. Removing files and directories
  6. Working with wildcards
  7. Working with absolute and relative pathnames

The last topic, the wrap-up, puts together the -r rule and a cheat sheet of everything.

All the examples ran in a practice folder (/tmp/lab) in Bash, with GNU coreutils. The topics build on each other: the files created in one topic are used in the next.

Start with topic 1 » · Short on time? Go to the cheat sheet.