macOS & Linux Basics
CompTIA A+ Core 2 - Objective 1.8
CompTIA A+ 220-1102
What You'll Learn
- Understand macOS and Linux operating systems
- Compare file systems and directory structures
- Master essential command-line operations
- Navigate system administration tasks
- Recognize key differences from Windows
Understanding cross-platform operating systems for comprehensive IT support
Slide 1 of 20
Prepared by: Hexworth Prime
Overview - Why Learn Other Operating Systems?
IT Professionals Need Multi-Platform Skills
Modern IT environments are diverse. Understanding multiple operating systems is essential for effective support and administration.
Why macOS Matters
- Creative Industries: Dominant in design, video, music production
- Education Sector: Widely used in schools and universities
- Business Growth: Increasing enterprise adoption
- Market Share: ~15% of desktop market
- Premium Support: High-value clients often use Macs
Why Linux Matters
- Server Dominance: Powers 70%+ of web servers
- Cloud Computing: Most cloud instances run Linux
- Mobile Devices: Android is built on Linux kernel
- IoT & Embedded: Runs on billions of devices
- Supercomputing: All top 500 supercomputers use Linux
Key A+ Exam Topics: File systems (APFS, ext4), directory structures (/home, /etc), basic commands (ls, cd, chmod), and package management (APT, YUM) are heavily tested!
macOS Key Differences: Unix-based, APFS file system, graphical focus, proprietary hardware
Linux Key Differences: Open-source, many distributions, command-line power, highly customizable
Slide 2 of 20
Prepared by: Hexworth Prime
macOS Overview
Apple's Unix-Based Operating System
What is macOS?
macOS is a Unix-based operating system developed by Apple Inc. exclusively for Mac computers.
Core Characteristics
- Unix Foundation: Built on Darwin (BSD Unix)
- Current Versions: Sonoma (14), Ventura (13)
- Hardware Locked: Only runs on Apple devices
- Apple Silicon: M-series chips (M1, M2, M3)
- Integrated Ecosystem: Works seamlessly with iPhone, iPad
Known For
Stability & Security
Unix foundation provides robust security and reliability
Creative Applications
Industry-standard for Final Cut Pro, Logic Pro, design tools
User Experience
Polished interface with attention to detail
Continuity Features
Handoff, AirDrop, Universal Clipboard across devices
Market Position
- Desktop Market Share: Approximately 15% globally (higher in US)
- Professional Sectors: Dominant in creative industries (60%+ in video/audio production)
- Education Market: Strong presence in K-12 and higher education
- Enterprise Growth: Increasing adoption in business environments
Exam Tip: Know that macOS is Unix-based (specifically Darwin/BSD)! This explains why it shares many commands and concepts with Linux. This is frequently tested on the A+ exam.
Slide 3 of 20
Prepared by: Hexworth Prime
Linux Overview
Open-Source Unix-Like Operating System
What is Linux?
Linux is an open-source Unix-like operating system kernel created by Linus Torvalds in 1991.
Core Characteristics
- Open Source: Free to use, modify, and distribute
- Kernel-Based: Linux is the kernel, not complete OS
- Many Distributions: Ubuntu, Fedora, Debian, CentOS
- Highly Customizable: Modular and configurable
- Community-Driven: Thousands of contributors worldwide
Common Distributions (Distros)
Ubuntu
User-friendly, great for beginners. Debian-based with strong community support.
Fedora
Cutting-edge features, Red Hat sponsored. Great for developers.
CentOS / Rocky Linux
Enterprise-focused, extremely stable. Common in server environments.
Debian
Stable foundation for many other distros. Highly reliable.
Where Linux Powers the World
- Web Servers: 70%+ of websites run on Linux (Apache, Nginx)
- Cloud Computing: Amazon AWS, Google Cloud, Azure predominantly Linux
- Mobile Devices: Android OS (over 2.5 billion devices) uses Linux kernel
- Supercomputers: 100% of top 500 supercomputers run Linux
- IoT & Embedded: Routers, smart TVs, appliances, cars
- Enterprise Servers: Banks, governments, Fortune 500 companies
Exam Tip: Know the major distributions and their use cases! Ubuntu (user-friendly/desktop), CentOS/Red Hat (enterprise servers), Debian (stable foundation). Also know that Linux is the KERNEL, not the complete OS.
Slide 4 of 20
Prepared by: Hexworth Prime
File System Comparison
Understanding Different File Systems Across Operating Systems
| Feature |
Windows |
macOS |
Linux |
| Primary File System |
NTFS |
APFS (Apple File System) |
ext4 / XFS / Btrfs |
| Legacy File System |
FAT32, exFAT |
HFS+ (Mac OS Extended) |
ext3, ext2 |
| Root Directory |
C:\ (drive letter) |
/ (Macintosh HD) |
/ (root) |
| Case Sensitivity |
No (case-insensitive) |
Optional (default: case-insensitive) |
Yes (case-sensitive) |
| Path Separator |
\ (backslash) |
/ (forward slash) |
/ (forward slash) |
| User Home Folder |
C:\Users\username |
/Users/username |
/home/username |
| Hidden Files |
Hidden attribute flag |
. prefix (dot files) |
. prefix (dot files) |
| File Permissions |
ACLs (Access Control Lists) |
Unix permissions (rwx) + ACLs |
Unix permissions (rwx) |
APFS Features:
- Optimized for SSDs and flash storage
- Native encryption support
- Space sharing between volumes
- Introduced with macOS High Sierra (2017)
ext4 Features:
- Journaling for crash recovery
- Supports volumes up to 1 EB
- Backward compatible with ext3/ext2
- Most common Linux file system
Exam Tip: Remember the key differences - Windows uses backslash (\), macOS/Linux use forward slash (/). Linux is case-sensitive, Windows is not, macOS is optionally. Know that APFS is macOS and ext4 is Linux!
Slide 5 of 20
Prepared by: Hexworth Prime
Directory Structure - Linux
Understanding the Linux Filesystem Hierarchy
Linux uses a single-root hierarchical structure
Everything starts at / (root). All drives, partitions, and devices are mounted within this structure.
Essential Directories
# Root directory (top of hierarchy)
/
# User home directories
/home
/home/john
/home/jane
# System configuration files
/etc
/etc/passwd (user accounts)
/etc/shadow (passwords)
# Variable data (logs, mail, cache)
/var
/var/log (system logs)
/var/mail (email)
More Key Directories
# Temporary files (cleared on reboot)
/tmp
# User programs and data
/usr
/usr/bin (user binaries)
/usr/lib (libraries)
# Essential command binaries
/bin and /sbin
# Device files
/dev
/dev/sda (first hard drive)
/dev/tty (terminals)
| Directory |
Purpose |
Example Contents |
| / |
Root directory |
Top of file system hierarchy |
| /home |
User home directories |
/home/john, /home/jane |
| /etc |
Configuration files |
Network, users, services config |
| /var |
Variable data |
Logs, mail, databases, caches |
| /tmp |
Temporary files |
Deleted on reboot |
| /usr |
User programs |
Applications, libraries |
| /bin |
Essential binaries |
ls, cp, mv, cat |
| /dev |
Device files |
Hard drives, terminals, USB |
Exam Tip: Memorize these key directories! /home (users), /etc (config), /var (logs), /tmp (temp), /usr (programs), /bin (binaries), /dev (devices). These appear frequently on A+ exams!
Slide 6 of 20
Prepared by: Hexworth Prime
Directory Structure - macOS
Apple's Unix-Based Directory Layout
macOS combines Unix structure with Apple-specific additions
Similar to Linux (Unix heritage) but with macOS-specific directories for apps and system files.
macOS-Specific Directories
# Root (Macintosh HD)
/
# User home directories
/Users
/Users/john
/Users/Shared
# Installed applications
/Applications
Safari.app
Mail.app
# macOS system files (protected)
/System
System Integrity Protection (SIP)
More Key Directories
# System-wide resources
/Library
Preferences, Fonts, Extensions
# User-specific resources
~/Library
Application Support, Caches
# Mounted drives and volumes
/Volumes
External drives, disk images
# Unix binaries (hidden in Finder)
/bin, /usr, /etc, /var
| Directory |
Purpose |
Windows Equivalent |
| /Users |
User home directories |
C:\Users |
| /Applications |
Installed apps |
C:\Program Files |
| /System |
macOS system files |
C:\Windows |
| /Library |
System resources |
C:\ProgramData |
| ~/Library |
User settings/data |
C:\Users\username\AppData |
| /Volumes |
Mounted drives |
D:\, E:\, etc. |
System Integrity Protection (SIP): macOS protects /System and other critical directories from modification, even by root user. Can only be disabled from Recovery Mode.
Exam Tip: Know that macOS uses /Users (not /home), /Applications for apps, and /System for OS files. The ~ symbol represents the current user's home directory (/Users/username).
Slide 7 of 20
Prepared by: Hexworth Prime
Terminal / Command Line
Shell Access Across Operating Systems
Windows Command Line
Command Prompt (cmd.exe):
Legacy DOS-based command interpreter
PowerShell:
Modern object-oriented shell with scripting
C:\Users\John> dir
C:\Users\John> cd Documents
macOS Command Line
Terminal.app:
Default terminal emulator
Shell: Zsh (default since Catalina):
Previously Bash, now Z Shell
john@Mac ~ % ls
john@Mac ~ % cd Documents
Linux Terminals: Multiple options - GNOME Terminal, Konsole, xterm. Default shell is usually Bash (Bourne Again Shell), but can also use Zsh, Fish, or others.
Shell Types - Know the Difference
- Bash (Bourne Again Shell): Most common Linux shell, traditional macOS shell
- Zsh (Z Shell): Enhanced Bash with better features, default macOS shell since Catalina (10.15)
- Fish (Friendly Interactive Shell): User-friendly with syntax highlighting and auto-suggestions
- Sh (Bourne Shell): Original Unix shell, minimal but portable
# Check current shell (Linux/macOS)
echo $SHELL
/bin/zsh
# Check available shells
cat /etc/shells
/bin/bash
/bin/zsh
/bin/sh
Exam Tip: macOS default shell changed from Bash to Zsh starting with Catalina (10.15). This is a common exam question! Both macOS and Linux share many Unix commands due to common heritage.
Slide 8 of 20
Prepared by: Hexworth Prime
Common Commands Comparison
Essential Commands Across Operating Systems
| Task |
Windows |
macOS / Linux |
| List files |
dir |
ls |
| List with details |
dir /a |
ls -l |
| Change directory |
cd |
cd |
| Copy file |
copy |
cp |
| Move/Rename file |
move |
mv |
| Delete file |
del |
rm |
| Create directory |
mkdir |
mkdir |
| Remove directory |
rmdir |
rmdir (empty) or rm -r |
| View file contents |
type |
cat |
| Clear screen |
cls |
clear |
| Show current directory |
cd |
pwd |
| Show environment path |
echo %PATH% |
echo $PATH |
| Find files |
dir /s |
find |
| Display help |
command /? |
man command |
# Common macOS/Linux command examples
ls -la # List all files with details
cp file1.txt file2.txt # Copy file
mv old.txt new.txt # Rename file
rm file.txt # Delete file
cat /etc/passwd # View file contents
pwd # Print working directory
Exam Tip: Know the basic command equivalents! Windows uses "dir", Unix uses "ls". Windows uses "type", Unix uses "cat". The commands cd, mkdir are the same across all platforms.
Slide 9 of 20
Prepared by: Hexworth Prime
File Permissions - Linux/macOS
Understanding Unix Permission Model
Permission Types
- r (Read): View file contents or list directory
- w (Write): Modify file or create/delete in directory
- x (Execute): Run file as program or enter directory
User Levels
- Owner (u): The file owner
- Group (g): Users in the file's group
- Others (o): Everyone else
Reading Permission String
-rwxr-xr--
# Break down:
- File type (- = file, d = dir)
rwx Owner: read, write, execute
r-x Group: read, execute
r-- Others: read only
Numeric Permissions
- r = 4 (read)
- w = 2 (write)
- x = 1 (execute)
- Add them: rwx = 7, r-x = 5, r-- = 4
Common Permission Values
- 755: rwxr-xr-x (Owner: all, Others: read/execute) - Common for executables
- 644: rw-r--r-- (Owner: read/write, Others: read) - Common for files
- 700: rwx------ (Owner: all, Others: none) - Private executables
- 600: rw------- (Owner: read/write, Others: none) - Private files
- 777: rwxrwxrwx (Everyone: all permissions) - Insecure, avoid!
# View file permissions
ls -l file.txt
-rw-r--r-- 1 john staff 1024 Jan 15 10:30 file.txt
# Change permissions (symbolic)
chmod u+x script.sh # Add execute for owner
chmod g-w file.txt # Remove write for group
# Change permissions (numeric)
chmod 755 script.sh # rwxr-xr-x
chmod 644 file.txt # rw-r--r--
# Change ownership
chown john:staff file.txt # Change owner and group
Exam Tip: Understand rwx notation and numeric permissions! Know that 755 = rwxr-xr-x and 644 = rw-r--r--. Remember: read(4) + write(2) + execute(1) = 7 (full permissions).
Slide 10 of 20
Prepared by: Hexworth Prime
Package Management
Installing and Managing Software Across Platforms
Windows Package Management
MSI / EXE Installers: Traditional installation files
Microsoft Store: Curated app store for Windows 10/11
winget: Windows Package Manager (command-line)
winget install Mozilla.Firefox
winget search chrome
macOS Package Management
App Store: Official Apple app distribution
DMG (Disk Image): Drag-and-drop installation
PKG: Installer packages for complex apps
Homebrew: Popular command-line package manager
brew install wget
brew search firefox
brew update
Linux Package Managers
APT (Debian/Ubuntu)
# Update package list
sudo apt update
# Install package
sudo apt install firefox
# Remove package
sudo apt remove firefox
# Upgrade all packages
sudo apt upgrade
YUM/DNF (Red Hat/CentOS/Fedora)
# Install package (YUM)
sudo yum install httpd
# Install package (DNF - newer)
sudo dnf install httpd
# Remove package
sudo yum remove httpd
# Update all packages
sudo yum update
| Package Manager |
Used On |
Install Command |
| APT |
Debian, Ubuntu, Linux Mint |
sudo apt install package |
| YUM |
Red Hat, CentOS (older) |
sudo yum install package |
| DNF |
Fedora, Red Hat, CentOS (newer) |
sudo dnf install package |
| Pacman |
Arch Linux, Manjaro |
sudo pacman -S package |
| Homebrew |
macOS (and Linux) |
brew install package |
Exam Tip: Know APT (Debian/Ubuntu) and YUM (Red Hat/CentOS)! These are the most tested. APT uses "apt install", YUM uses "yum install". Both require sudo for system-wide installation.
Slide 11 of 20
Prepared by: Hexworth Prime
User Management
Managing User Accounts on macOS and Linux
macOS User Management
GUI Method:
System Preferences (System Settings) → Users & Groups
Account Types
- Administrator: Full system access, can install software
- Standard: Normal user, cannot modify system
- Managed: Parental controls enabled
- Guest: Temporary account, no saved data
- Sharing Only: File sharing access only, no login
# List users (macOS)
dscl . list /Users
# Create user (command line)
sudo dscl . -create /Users/newuser
Linux User Management
Primary Method: Command-line tools
# Add new user
sudo useradd -m john
# -m creates home directory
# Set password
sudo passwd john
# Modify user
sudo usermod -aG sudo john
# Add to sudo group
# Delete user
sudo userdel john
sudo userdel -r john
# -r removes home directory
# List all users
cat /etc/passwd
# View current user
whoami
Important User Files (Linux)
- /etc/passwd: User account information (username, UID, home directory, shell)
- /etc/shadow: Encrypted passwords and password aging info (root access only)
- /etc/group: Group information and membership
- /etc/sudoers: Sudo privileges configuration (edit with visudo)
sudo Command:
Allows authorized users to run commands as superuser (root). Much safer than logging in as root. Required for system administration tasks.
sudo apt install firefox
# Prompts for your password
Security Best Practice:
Never run daily tasks as root! Use sudo only when needed for administrative tasks. Both macOS and Linux follow this principle.
Exam Tip: Know useradd, usermod, userdel commands for Linux. Know that /etc/passwd stores user info and /etc/shadow stores passwords. Understand sudo allows temporary privilege elevation.
Slide 12 of 20
Prepared by: Hexworth Prime
Software Installation - macOS
Multiple Methods for Installing Applications
App Store
Official Apple distribution
- Curated and sandboxed apps
- Automatic updates
- Requires Apple ID
- Safest option for consumers
DMG (Disk Image)
Drag-and-drop installation
- Mount DMG file
- Drag app to Applications folder
- Most common method
- Downloaded from developer websites
PKG (Package)
Installer packages
- Guided installation wizard
- For complex apps with dependencies
- Can install to multiple locations
- May require admin password
Homebrew
Command-line package manager
- Popular among developers
- brew install package_name
- Manages dependencies automatically
- Open-source tools and utilities
Gatekeeper - macOS Security Feature
Gatekeeper protects users from downloading and installing malicious software.
- Blocks unsigned apps: Apps from unidentified developers are blocked by default
- Code signing: Verifies apps are from known developers and haven't been tampered with
- Notarization: Apps scanned by Apple for malware before distribution (macOS 10.15+)
Allowing Apps from Unknown Developers
# If app is blocked:
System Preferences → Security & Privacy
→ General tab
→ Click "Open Anyway"
# Or right-click app:
Control-click → Open
# Bypasses Gatekeeper once
Uninstalling Apps
Most apps: Simply drag from Applications to Trash
PKG-installed apps: May need dedicated uninstaller
Leftover files: Check ~/Library/Application Support for app data
Exam Tip: Know the three main installation methods - App Store (safest), DMG (most common), PKG (complex apps). Understand that Gatekeeper blocks unsigned apps and can be bypassed in Security & Privacy settings.
Slide 13 of 20
Prepared by: Hexworth Prime
Software Installation - Linux
Package Managers and Software Distribution
Package Managers
Primary installation method
- APT (Debian/Ubuntu)
- YUM/DNF (Red Hat/CentOS)
- Automatic dependency resolution
- Repository-based distribution
Software Centers
GUI package management
- Ubuntu Software, GNOME Software
- User-friendly app store interface
- Browse and install graphically
- Uses package manager backend
Snap / Flatpak
Universal packages
- Distribution-independent
- Self-contained with dependencies
- Sandboxed for security
- Automatic updates
AppImage
Portable applications
- Single executable file
- No installation needed
- Run from anywhere
- Like portable .exe on Windows
Traditional Package Managers
# APT (Debian/Ubuntu)
sudo apt update
sudo apt install vlc
sudo apt remove vlc
# YUM (Red Hat/CentOS)
sudo yum install httpd
sudo yum remove httpd
# DNF (Fedora)
sudo dnf install nginx
Universal Package Formats
# Snap
sudo snap install spotify
sudo snap remove spotify
# Flatpak
flatpak install firefox
flatpak remove firefox
# AppImage (make executable)
chmod +x app.AppImage
./app.AppImage
Dependency Management
Package managers automatically resolve dependencies - libraries and software needed by applications.
- Automatic resolution: Package manager installs all required dependencies
- Shared libraries: Multiple apps can share common dependencies
- Version management: Ensures compatible versions are installed
- Conflict prevention: Warns about incompatible packages
Compile from Source (Advanced): For advanced users, software can be compiled from source code using make and configure. This provides maximum customization but requires development tools and knowledge.
Exam Tip: Know that package managers handle dependencies automatically. APT uses repositories and "sudo apt install", YUM uses "sudo yum install". Understand Snap/Flatpak are universal formats that work across distros.
Slide 14 of 20
Prepared by: Hexworth Prime
System Preferences / Settings
Configuring macOS and Linux Systems
macOS System Preferences
Access: Apple menu → System Preferences
(System Settings in macOS Ventura 13+)
Key Settings Categories
- General: Appearance, accent colors, sidebar
- Desktop & Screen Saver: Wallpaper, screen saver
- Displays: Resolution, arrangement, color
- Network: Wi-Fi, Ethernet, VPN settings
- Security & Privacy: FileVault, Firewall, Gatekeeper
- Users & Groups: User accounts, login items
- Time Machine: Backup configuration
Linux System Settings
Varies by Desktop Environment
GNOME, KDE, XFCE each have different interfaces
GNOME Settings
- Wi-Fi: Network connections
- Displays: Resolution, arrangement
- Power: Battery, suspend settings
- Users: Account management
- Privacy: Screen lock, location services
- Applications: Default apps, permissions
KDE System Settings
- More granular control
- Highly customizable interface
- Advanced configuration options
Configuration Files (Linux)
Linux also uses text-based configuration files in addition to GUI settings.
# System-wide configurations
/etc/ directory contains most system configs
# Network configuration (varies by distro)
/etc/network/interfaces (Debian)
/etc/sysconfig/network-scripts/ (Red Hat)
# User-specific configurations
~/.bashrc (Bash shell settings)
~/.config/ (Application configs)
# Edit config files (requires sudo)
sudo nano /etc/ssh/sshd_config
macOS Approach: Emphasis on GUI settings with unified interface. Some advanced settings require Terminal commands.
Linux Approach: Combination of GUI tools and text-based config files in /etc. Power users often prefer editing files directly.
Exam Tip: Know that macOS uses System Preferences (System Settings), while Linux varies by desktop environment (GNOME Settings, KDE System Settings). Linux configurations are often stored in /etc as text files.
Slide 15 of 20
Prepared by: Hexworth Prime
Disk Management
Managing Storage on macOS and Linux
macOS Disk Utility
Access: Applications → Utilities → Disk Utility
or Spotlight: "Disk Utility"
Disk Utility Functions
- Format Drives: APFS, HFS+, ExFAT, FAT
- Partition: Create multiple partitions
- First Aid: Repair disk errors and permissions
- Erase: Securely wipe drives
- Restore: Clone drives from disk images
- Create Images: DMG files for backup/distribution
# Command-line disk info
diskutil list
diskutil info disk0
# Mount/unmount
diskutil mount /dev/disk2s1
diskutil unmount /dev/disk2s1
Linux Disk Management
Multiple Tools: Command-line and GUI options available
Common Tools
# List block devices
lsblk
# Disk free space
df -h
# Disk usage
du -sh /home/john
# Partition tools (root required)
sudo fdisk -l # List partitions
sudo fdisk /dev/sda # Edit partitions
sudo parted /dev/sda # Advanced tool
# Mount/unmount
sudo mount /dev/sdb1 /mnt
sudo umount /mnt
# Check filesystem
sudo fsck /dev/sdb1
GParted (Linux GUI)
Graphical partition editor for Linux. User-friendly interface for creating, resizing, and managing partitions.
GNOME Disks (Linux GUI)
Simple disk management utility. Format drives, create disk images, benchmark performance.
macOS First Aid
Verify and repair disk permissions and structure. Run before major system changes or when experiencing issues.
FileVault (macOS)
Full-disk encryption for macOS. Accessed through System Preferences → Security & Privacy. Encrypts entire startup disk.
Mount Points (Linux): Drives are mounted to directories (mount points) like /mnt or /media. Unlike Windows drive letters (C:, D:), Linux integrates all storage into a single directory tree.
Exam Tip: macOS uses Disk Utility for GUI management and diskutil for command-line. Linux uses fdisk/parted for partitioning, df for disk space, mount/umount for mounting drives. Know that Linux uses mount points, not drive letters!
Slide 16 of 20
Prepared by: Hexworth Prime
Backup Solutions
Data Protection Across Platforms
macOS Time Machine
Built-in backup solution
Automatic, incremental backups of entire system
Time Machine Features
- Automatic backups: Hourly, daily, weekly
- Full system backup: OS, apps, files, settings
- Incremental: Only backs up changes after initial backup
- Easy restore: Restore individual files or entire system
- Version history: Browse previous versions of files
- Space management: Auto-deletes oldest backups when full
Setup Requirements
- External hard drive or NAS
- Time Capsule (Apple's backup device)
- Network storage location
Access: System Preferences → Time Machine
Select backup disk and turn on automatic backups
Linux Backup Solutions
Multiple options available
No single standard, many tools to choose from
Popular Tools
# rsync - Powerful sync tool
rsync -av /home/john /backup/
# Sync directory to backup location
rsync -av --delete source/ dest/
# Mirror (delete removed files)
# tar - Create archives
tar -czvf backup.tar.gz /home
# Compress and archive /home
tar -xzvf backup.tar.gz
# Extract archive
Timeshift
System restore tool similar to Windows System Restore. Creates snapshots of system files.
Deja Dup
Simple GUI backup tool for GNOME. User-friendly interface for backing up home directory.
Backup Best Practices (All Platforms)
- 3-2-1 Rule: 3 copies of data, 2 different media types, 1 offsite backup
- Automated backups: Schedule automatic backups to ensure consistency
- Test restores: Regularly verify backups can be restored successfully
- Offsite/cloud: Protect against physical disasters (fire, theft)
- Encryption: Encrypt backups containing sensitive data
- Version control: Keep multiple versions to recover from corruption
Exam Tip: Know that macOS uses Time Machine for automatic backups. Linux commonly uses rsync for synchronization and tar for archiving. Timeshift provides system snapshots on Linux similar to Windows System Restore.
Slide 17 of 20
Prepared by: Hexworth Prime
Networking
Network Configuration on macOS and Linux
macOS Networking
GUI Access:
System Preferences → Network
Features
- Similar to Windows: User-friendly interface
- Wi-Fi, Ethernet, VPN: All configured in Network pane
- Network Locations: Save configurations for different environments
- SMB Support: Connect to Windows file shares
- AirDrop: Direct file sharing between Apple devices
- Bonjour: Zero-configuration networking
# View network config
ifconfig
# Test connectivity
ping google.com
# Trace route
traceroute google.com
# DNS lookup
nslookup google.com
Linux Networking
GUI: NetworkManager (most distros)
CLI: Powerful command-line tools
# Modern command - view IP config
ip addr show
ip a # Short form
# Legacy command (still common)
ifconfig
# View routing table
ip route
# NetworkManager CLI
nmcli device status
nmcli connection show
# Test connectivity
ping -c 4 google.com
# Check open ports
netstat -tuln
ss -tuln # Modern alternative
SSH - Secure Shell (Native on macOS & Linux)
Both macOS and Linux include SSH client and server capabilities built-in.
Client (Connect to remote systems)
ssh user@192.168.1.100
ssh user@server.com
# Copy files via SCP
scp file.txt user@host:/path/
# Copy via SFTP
sftp user@host
Server (Allow remote connections)
# macOS - enable Remote Login
System Preferences → Sharing
→ Remote Login
# Linux - start SSH service
sudo systemctl start ssh
sudo systemctl enable ssh
Network Configuration Files (Linux):
/etc/network/interfaces (Debian/Ubuntu) or /etc/sysconfig/network-scripts/ (Red Hat/CentOS)
Modern systems use NetworkManager for easier management.
Exam Tip: Know basic networking commands! "ip addr" (modern) or "ifconfig" (legacy) show IP configuration. Both macOS and Linux natively support SSH for remote access. nmcli is the NetworkManager command-line interface.
Slide 18 of 20
Prepared by: Hexworth Prime
Best Practices for Multi-OS Support
Effective Strategies for Supporting Diverse Environments
Learn Command-Line Basics
Master essential commands on all three platforms. Windows (PowerShell), macOS (Zsh), Linux (Bash). CLI skills are invaluable for troubleshooting.
Understand File System Differences
NTFS vs APFS vs ext4. Case sensitivity, path separators, permissions models. Know limitations and compatibility issues.
Network Share Access
Know how to access network shares across OSes. SMB/CIFS for Windows shares, NFS for Unix/Linux, AFP for macOS (legacy).
Use Built-In Help Systems
Windows (help command), macOS/Linux (man pages). Learn to find answers independently using documentation.
Documentation & Help
# Windows
command /?
Get-Help command (PowerShell)
# macOS / Linux
man command
command --help
info command
# Search man pages
apropos keyword
man -k keyword
Virtual Machines for Practice
VirtualBox (Free): Practice different OSes safely
VMware Workstation Player: Free for personal use
Hyper-V: Built into Windows Pro+
Parallels (macOS): Commercial virtualization for Mac
Document OS-Specific Procedures
- Create knowledge base: Document common tasks on each OS
- Step-by-step guides: Screenshots and command examples
- Troubleshooting checklists: Common issues and solutions
- Quick reference cards: Command equivalents (dir vs ls)
- User guides: Help end-users with OS-specific features
Cross-Platform File Compatibility:
Use compatible file systems (exFAT) for external drives shared between systems. Be aware of case sensitivity differences.
Remote Support Tools:
TeamViewer, AnyDesk, Chrome Remote Desktop work across all platforms. Essential for multi-OS support.
Exam Tip: Practice in virtual machines before the exam! Install Ubuntu, experiment with macOS if possible. Hands-on experience with command-line operations is crucial for passing the A+ exam.
Slide 19 of 20
Prepared by: Hexworth Prime
Summary - Key A+ Exam Points
Essential Knowledge for CompTIA A+ 220-1102
| Topic |
macOS |
Linux |
| Base System |
Unix (Darwin/BSD) |
Unix-like (Linux kernel) |
| File System |
APFS (HFS+ legacy) |
ext4 (ext3, XFS, Btrfs) |
| Default Shell |
Zsh (Bash on older versions) |
Bash (most common) |
| Package Manager |
Homebrew, App Store |
APT (Debian), YUM/DNF (Red Hat) |
| File Permissions |
chmod/chown (Unix style) |
chmod/chown (rwx) |
| Backup Solution |
Time Machine |
rsync, Timeshift, tar |
| Key Directories |
/Users, /Applications, /System, /Library |
/home, /etc, /var, /usr, /bin, /dev |
| User Management |
Users & Groups (GUI), dscl (CLI) |
useradd, usermod, userdel |
| Disk Management |
Disk Utility, diskutil |
fdisk, parted, GParted, df |
| Network Config |
System Preferences → Network |
NetworkManager, /etc/network/, ip addr |
Critical macOS Facts:
- Unix-based (Darwin) - NOT Linux!
- APFS file system on modern Macs
- Zsh is default shell (Catalina+)
- Time Machine for backups
- Gatekeeper protects from unsigned apps
- /Users not /home for user directories
Critical Linux Facts:
- ext4 most common file system
- Case-sensitive file system
- APT (Ubuntu), YUM (CentOS) package managers
- chmod changes permissions (755, 644)
- /etc for config, /var for logs, /home for users
- sudo for administrative privileges
Final Exam Tips
- Command equivalents: Know dir (Windows) = ls (Unix), type = cat, copy = cp
- File paths: Windows uses \ backslash, macOS/Linux use / forward slash
- Permissions: Understand rwx and numeric format (755, 644)
- Package managers: APT install, YUM install, Homebrew install
- Directory knowledge: /home, /etc, /var for Linux; /Users, /Applications for macOS
- Shells: Bash (traditional), Zsh (macOS default), PowerShell (Windows)
- Hands-on practice: Use VMs to practice actual commands and navigation
You're Ready for the A+ Exam!
Practice these concepts, use virtual machines, and you'll master cross-platform OS support.
Slide 20 of 20
Prepared by: Hexworth Prime