| macOS Tool | Location / Access | Windows Equivalent |
|---|---|---|
| Activity Monitor | Applications / Utilities | Task Manager |
| Disk Utility | Applications / Utilities | Disk Management |
| Console | Applications / Utilities | Event Viewer |
| Network Utility | Applications / Utilities (legacy) | Network diagnostics tools |
| System Information | About This Mac > System Report | msinfo32 / Device Manager |
| Directory Utility | Applications / Utilities | Active Directory Users & Computers |
| Keychain Access | Applications / Utilities | Credential Manager |
| Directory | Purpose |
|---|---|
| / | Root of the entire filesystem |
| /bin | Essential user binaries (ls, cp, mv, bash) |
| /etc | System-wide configuration files |
| /home | User home directories (/home/alice) |
| /usr | User-installed programs and libraries |
| /var | Variable data: logs (/var/log), web (/var/www) |
| /tmp | Temporary files; cleared on reboot |
| /dev | Device files (/dev/sda, /dev/null) |
| /proc | Virtual filesystem; running process info |
| /root | Home directory for the root user |
| Permission | Octal | Meaning | Real Example |
|---|---|---|---|
| rwxr-xr-x | 755 | Owner: full. Others: read+execute | A bash script everyone can run but only you can edit |
| rw-r--r-- | 644 | Owner: read+write. Others: read only | A config file like /etc/hostname — readable by all, editable by root |
| rw------- | 600 | Owner only. No one else sees it | SSH private key (~/.ssh/id_rsa) — SSH refuses if others can read it |
| rwx------ | 700 | Owner: full. Others: nothing | Your home directory /home/alice — private workspace |
| rwxrwxr-x | 775 | Owner+group: full. Others: read+exec | Shared project folder — the dev team edits, others browse |
| Action | apt (Debian/Ubuntu) | yum / dnf (RHEL/CentOS) |
|---|---|---|
| Update package list | apt update | yum check-update |
| Upgrade installed packages | apt upgrade | yum update |
| Install a package | apt install nginx | yum install nginx |
| Remove a package | apt remove nginx | yum remove nginx |
| Search for a package | apt search keyword | yum search keyword |
| Show package info | apt show nginx | yum info nginx |
| Command | Purpose | Example |
|---|---|---|
| ip addr | Show IP addresses and interfaces (replaces ifconfig) | ip addr show eth0 |
| ip route | Show / modify routing table | ip route show |
| ping | ICMP reachability test | ping -c 4 8.8.8.8 |
| traceroute | Hop-by-hop path to destination | traceroute google.com |
| ss | Socket statistics (replaces netstat) | ss -tulnp |
| dig / nslookup | DNS query and troubleshooting | dig google.com A |
| curl / wget | HTTP/HTTPS requests; file download | curl -I https://example.com |
| Attribute | macOS | Linux |
|---|---|---|
| Kernel | Darwin (XNU, BSD + Mach) | Linux kernel (Torvalds) |
| Default Shell | zsh (Catalina+) | bash (most distros) |
| Package Manager | Homebrew (third-party); App Store | apt, yum/dnf, pacman (distro-dependent) |
| Filesystem | APFS (primary), HFS+ (legacy) | ext4 (primary), XFS, Btrfs, ZFS |
| GUI Desktop | Aqua (proprietary) | GNOME, KDE, XFCE, and many others |
| Hardware | Apple hardware only (officially) | Runs on virtually any x86/ARM hardware |
| Licensing | Proprietary; bundled with hardware | Open source (GPL); free to use and modify |
| Enterprise Domain Join | Active Directory via Directory Utility | sssd or winbind for AD; native LDAP |
| Log File | Contents |
|---|---|
| /var/log/syslog | General system messages (Debian/Ubuntu) |
| /var/log/messages | General system messages (RHEL/CentOS) |
| /var/log/auth.log | Authentication attempts, sudo usage, SSH logins (Debian/Ubuntu) |
| /var/log/secure | Authentication (RHEL/CentOS equivalent of auth.log) |
| /var/log/kern.log | Kernel messages; hardware driver issues |
| /var/log/dmesg | Boot-time kernel ring buffer; hardware detection |
| /var/log/apt/history.log | Package install/remove history |
| Command | Purpose | Example |
|---|---|---|
| lsblk | List all block devices and partitions | lsblk -f |
| fdisk | Partition table manipulation | fdisk /dev/sdb |
| mkfs | Format partition with filesystem | mkfs.ext4 /dev/sdb1 |
| mount | Mount a filesystem to a directory | mount /dev/sdb1 /mnt/data |
| umount | Unmount a filesystem | umount /mnt/data |
| fsck | Check and repair filesystem | fsck /dev/sda1 (unmounted) |
| df -h | Disk free space per filesystem | df -h |
| du -sh | Disk usage of a directory | du -sh /var/log |
| Command | macOS Behavior / Notes |
|---|---|
| ls, cd, cp, mv, rm | Identical behavior to Linux |
| diskutil | macOS disk management CLI (equivalent of Disk Utility GUI). diskutil list, diskutil eraseDisk, diskutil repairVolume |
| networksetup | Configure network settings from CLI. networksetup -setdnsservers Wi-Fi 8.8.8.8 |
| softwareupdate | Install macOS updates from CLI. softwareupdate -ia installs all available updates |
| system_profiler | Machine hardware and software info. system_profiler SPHardwareDataType |
| launchctl | Manage launch agents and daemons (macOS equivalent of systemctl) |
| defaults | Read/write macOS preference plist files. defaults write com.apple.dock autohide -bool true |