0 of 16 lessons done
Course classroom
CompTIA Linux+ XK0-006

Day 2 of 15

Day 2 · Files and directories

Organize the customers' files: create, copy, move, delete, link, and find anything with find.

⏱ 2 hours 🧪 16 terminal tasks ✅ 10 review questions 🔒 Part of the full course

By the end of this day you will be able to

  • Create, copy, move, rename and delete files and directories without losing data.
  • Use wildcards and brace expansion to work with many files at once.
  • Recognize file types, including the devices in /dev, with ls -l, file and stat.
  • Explain what an inode is and the difference between a hard link and a symbolic link.
  • Search for files by name, type, size, owner, permissions and date with find, and act on them with -exec.
  • Know when to reach for locate, tree and lsof.

Topics

  • touch, mkdir, cp, mv, rm, rmdir
  • Wildcards * ? [ ] and braces { }
  • File types and the devices in /dev
  • file and stat
  • Inodes, hard links and symbolic links
  • find with -exec and -delete
  • locate and updatedb
  • tree and lsof

This lesson is part of the full course

It includes the full explanation, 16 terminal tasks that check themselves and 10 review questions. If you already bought the course, sign in and pick up where you left off.

Full course: $99 (regular price $149) · one payment · 12 months of access

Already paid? Sign in with the email you used to buy: we send you a 6-digit code, no password.

Want to try it first? Take a free trial of the course. Questions? Message us on WhatsApp.

Loading your lesson…

Go to the course classroom

See all the lessons in the course

The companies, people and data in the course stories are fictional; any resemblance to reality is coincidental.