macOS tools
macOS has the tools you know, under other names
Finder, Spotlight, Force Quit, FileVault, Time Machine.
A technician who knows Windows already knows most of a Mac. Only the names change. To browse files: Finder. To find anything by typing: Spotlight. To close an application that has frozen: Force Quit. To encrypt the whole drive: File Vault. To back up every hour without thinking about it: Time Machine.
macOS tools · Going deeper
macOS features
Mission Control, Keychain, iCloud, Disk Utility.
Mac applications
Three kinds of installer lead to one folder
.dmg, .pkg or App Store, into /Applications.
Software reaches a Mac in three ways. A D M G file is a disk image. You open it, and drag the application out. A P K G file is an installer. It runs through the steps for you. The App Store does everything in one click. All three end in the Applications folder, where each program is a single item. To uninstall, drag that item to the Trash.
Mac applications · Going deeper
System folders and best practices
/Library, /System, Rapid Security Response.
Check yourself
What should the user do first?
Linux permissions
Each digit is read 4, write 2 and run 1, added together
754 is rwx r-x r--.
Every Linux file has three sets of permissions, and a three-digit number sets them. Read counts four, write counts two, run counts one. The first digit is for the owner. Seven is four plus two plus one: read, write and run. The second is for the group. Five is four plus one: read and run. The third is for everyone else. Four: read only.
Linux permissions · Going deeper
File commands
ls -l, chown, grep, find.
Root and sudo
Root can do anything, so borrow it one command at a time
sudo for one command. Avoid working as root.
Linux has one account that can do anything: root. Good practice is never to sign in as root. You work as an ordinary user. When a command needs more power, you put sudo in front of it, and type your own password. That single command runs as root. Then you are an ordinary user again. And the system has logged what you did.
Root and sudo · Going deeper
System, package, network and information commands
apt or dnf. df for free space. top for load.
Check yourself
Which command is needed?
How Linux starts
The bootloader loads the kernel; the kernel starts systemd
Bootloader, kernel, systemd, then services.
Three components make up a running Linux system, and they start in order. First, as on any computer, the firmware tests the hardware. It hands over to the bootloader, usually called grub, which loads the kernel. The kernel is the core of the operating system. It manages the hardware. The kernel starts one process, system D. And system D starts every service after that.
How Linux starts · Going deeper
Configuration files in /etc
/etc/passwd, /etc/shadow, /etc/fstab, /etc/resolv.conf.
Check yourself
Which file should be checked?
Lesson complete
You finished “macOS and Linux for the technician”
Answer the questions along the way to see your score here.