StudyToCert

All certifications / A+ Core 2 / Lessons

CompTIA A+ Core 2 220-1202 · Domain 1: Operating systems

Linux: file and permission commands (ls, cp, mv, rm, chmod, chown, sudo, su), package managers (apt, dnf), ip, df, top, ps, grep, find, man, key files (/etc/passwd, /etc/shadow, /etc/hosts, /etc/fstab, /etc/resolv.conf)

▶ Watch the overview video

Last reviewed October 6, 2026 · Leer en español

Explain it simpler

Linux is an operating system you usually control by typing commands. Everything lives in one big folder tree starting at /, with no C: or D: drives. Every file has an owner, a group and everyone else, and each of those can be allowed to read, write or run the file. Think of a shared office document with three permission levels: the author, the team and the whole company. The chmod command changes those permissions, and chown changes who owns the file. Because the top account, called root, can do anything, people use sudo to borrow root powers for one command. Software is installed with a package manager, like an app store you use from the keyboard.

At Elm Street Community Health, the patient-portal web server runs Ubuntu, and the Linux administrator is on vacation. At 9 a.m. the front desk calls: the new appointment page shows "403 Forbidden" instead of the form. Kofi, the developer who uploaded it, says he copied the file correctly and suggests running chmod 777 on everything "just to be safe." You have a remote shell open and a blinking cursor. You know the page exists; the question is who is allowed to read it. What do the permission letters on that file really mean, and why is Kofi's quick fix a bad idea?

Linux is managed mostly from a shell such as bash. Commands are case-sensitive, paths use forward slashes and there are no drive letters: everything hangs off the root directory /, and other disks are mounted into that tree at folders such as /mnt/data. When in doubt, read the manual page with man, as in man chmod, and press q to quit. The A+ exam expects you to recognize the core commands, read a permission string and know which configuration file does what.

Free account

Keep reading for free

Create a free StudyToCert account to read the rest of this lesson: 9 more sections, 9 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.

Sign up free Log in

Study A+ Core 2 for free
A week-by-week plan with every lesson, quizzes, checkpoint tests, a practice exam and hands-on labs.
Open the A+ Core 2 study plan