Linux organizes everything under a single root directory (/). Knowing how to move through directories and list their contents is the foundation of every Linux task.
/home/student. What command lists ALL files (including hidden) with full details?backups inside /home/student?Regular users live under /home/username. The root (admin) user is special -- its home is /root, not /home/root.
Linux uses a permission system with three levels: owner, group, and others. Each level can have read (r), write (w), and execute (x) permissions.
-rwxr-x---. What is the numeric (octal) permission?data.csv to the user admin?r=4, w=2, x=1. For rwx: 4+2+1=7. For r-x: 4+0+1=5. For ---: 0+0+0=0.
Debian-based distros (Ubuntu, Linux Mint) use apt to install, update, and remove software. Understanding package management is critical for system administration.
openssh-server package?apache2 package from the system?apt update refreshes the list of available packages. apt upgrade actually installs newer versions. Always update before upgrade.
Every running program in Linux is a process. Knowing how to view, monitor, and terminate processes is essential for troubleshooting.
kill -9 send, and what is it called?kill PID sends SIGTERM (signal 15) -- a polite "please stop." kill -9 PID sends SIGKILL -- an immediate forced termination. Always try SIGTERM first.
macOS is built on a Unix foundation (Darwin/BSD). Many Linux commands work the same in the macOS Terminal, but the GUI and package management differ.
brew) replaces apt. System Preferences (now System Settings) replaces config files for most user settings. The macOS file system root is / just like Linux, but user files live under /Users/ instead of /home/.
jsmith's home directory?wget package using Homebrew?ls, cd, pwd, and grep.macOS is built on Darwin, a Unix-based kernel. Most standard Unix/Linux commands work natively in the macOS Terminal because they share the same POSIX foundation.
Answer all 20 questions to unlock completion.