Learn the nouns
Terminal, shell, prompt, path, home directory, hidden file, and sudo should all feel distinct.
Learn macOS the power-user way: Terminal basics, safe commands, Finder and Spotlight tricks, clipboard tools, Homebrew, networking, process control, automation, cleanup, and practical things to try on your own Mac without wrecking it.
cd / ls / open
ps / top / pmset
brew install
macOS gives you a real Unix-like shell and filesystem tools out of the box.
You can jump between Terminal, Finder, Spotlight, Quick Look, and Automator-style workflows easily.
Some commands are powerful enough to remove data instantly. Safe habits matter.
Even a handful of good commands can make troubleshooting and dev setup dramatically faster.
A lot of people bounce off Terminal because they start with scary commands. The easier path is: understand the shell, learn safe navigation and file operations, then expand into system info, networking, Homebrew, and daily macOS shortcuts.
Terminal, shell, prompt, path, home directory, hidden file, and sudo should all feel distinct.
Practice pwd, ls, cd, mkdir, touch, and open.
Read process lists, ports, IPs, clipboard contents, battery health, and disk usage.
Use Homebrew to install developer tools and common command-line utilities the right way.
Use Spotlight, Finder, clipboard tools, screenshots, and keyboard shortcuts like a power user.
The shortest useful definition of Terminal is: a text-based doorway into the real Unix layer underneath macOS.
That is why it is so valuable. The GUI shows you one path through the system. Terminal gives you direct visibility and repeatable control.
Read first, create second, delete last. Commands like pwd, ls, open ., pbcopy, and brew list are great places to start.
macOS power use is not just about typing commands. The sweet spot is moving smoothly between Terminal, Finder, Spotlight, Quick Look, Homebrew, and built-in system tools.
Use Spotlight, Finder search, or terminal search commands depending on the job.
Read the current state with safe commands before you edit or delete anything.
Some tasks are faster in Finder, some in Terminal, and the best workflow often uses both.
Homebrew keeps command-line software organized and easier to update later.
Once something becomes a command, you can reuse it, script it, and chain it with other tools.
Know when a command is read-only, when it changes files, and when it deserves extra caution.
These are the practical Mac habits that pay off quickly. They make Finder, Spotlight, screenshots, clipboard work, and Terminal feel like one connected toolkit.
Use Spotlight to open apps, files, settings, currency conversions, calculations, and unit conversions faster than navigating menus.
open . is one of the best bridge commands between Terminal and the GUI.
pbcopy sends text to the clipboard and pbpaste pulls clipboard contents back into the shell.
Capture full screen, window, region, or video recording from one panel.
Select a file in Finder and tap Space to preview it instantly.
It is the easiest way to avoid typing long paths or fighting spaces in filenames.
This is the expanded shortcut guide for a MacBook Air with Apple silicon. I focused on the default macOS shortcuts, Finder shortcuts, screenshot shortcuts, text-editing moves, and hardware-key behavior that actually matter day to day. App-specific shortcuts can still vary, and many can be customized in System Settings > Keyboard > Keyboard Shortcuts.
Your top row is a hybrid row: by default it controls Mac features like brightness,
Mission Control, Spotlight, Dictation, Focus, media, and volume. Hold Fn
while pressing one of those keys if you want the standard F1 to
F12 behavior instead.
On a MacBook Air M2, the main startup shortcut is really the power button itself: press and keep holding Touch ID / power during startup to open Startup Options, Recovery, and Safe Mode choices. Most of the old Intel startup key combos do not work the same way on Apple silicon.
If Mac shortcuts feel confusing at first, it is usually because the modifier keys do different jobs than on Windows. Learn this legend once and the rest of the page makes much more sense.
| Key | What it does | Why it matters |
|---|---|---|
Cmd |
The primary action key for most Mac shortcuts. | Think of it as the key behind copy, paste, save, switch apps, hide, and quit. |
Option |
Changes a command into an alternate or more advanced version. | Common for hidden menu items, smaller volume steps, alternate open behavior, and word navigation. |
Control |
Used for focus movement, context behavior, and classic text-navigation shortcuts. | You will see it a lot in accessibility, Mission Control, and cursor-control shortcuts. |
Shift |
Adds selection, uppercase, or the "bigger version" of a shortcut. | Very common in screenshots, text selection, redo, and alternate save actions. |
Fn / Globe |
Switches top-row behavior, opens certain system tools, and triggers Mac laptop actions. | Important on the MacBook Air because it unlocks standard F keys and Globe-key shortcuts. |
Touch ID / power |
Acts as power button, lock button, and the Apple silicon startup-options trigger. | It is the key you use for wake, lock, force power-off, and startup recovery access. |
This is the row most people underuse. On a MacBook Air M2 it gives you direct access to the most common system controls without opening menus.
| Key | Default action | What it does |
|---|---|---|
F1 |
Brightness down | Decreases display brightness. |
F2 |
Brightness up | Increases display brightness. |
F3 |
Mission Control | Shows open windows and spaces so you can jump between workspaces visually. |
F4 |
Spotlight | Opens Spotlight search for files, apps, settings, calculations, and quick actions. |
F5 |
Dictation / Siri | Starts Dictation, and press-and-hold activates Siri. |
F6 |
Do Not Disturb | Toggles Focus so notifications stop interrupting you. |
F7 |
Previous / rewind | Moves backward in supported audio and video playback. |
F8 |
Play / pause | Starts or pauses media playback. |
F9 |
Next / fast-forward | Moves forward in supported audio and video playback. |
F10 |
Mute | Mutes or unmutes Mac audio. |
F11 |
Volume down | Reduces output volume. |
F12 |
Volume up | Raises output volume. |
Fn + F1 to F12 |
Use standard function keys | Runs the normal F-key behavior instead of the printed Mac feature. |
Option + brightness or volume key |
Open related settings | Jumps straight to Displays or Sound settings from the keyboard. |
Option + Shift + brightness or volume key |
Fine-grained adjustment | Changes brightness or volume in smaller steps when you want more precise control. |
These are the shortcuts most Mac users end up using dozens of times a day across Finder, browsers, editors, documents, and utility apps.
| Shortcut | What it does | Where it helps |
|---|---|---|
Cmd-X |
Cut the selected item to the clipboard. | Useful when moving selected text or editable content. |
Cmd-C |
Copy the selected item. | Works for text, images, files, and many UI objects. |
Cmd-V |
Paste clipboard contents. | Use it everywhere from Finder to notes, email, and editors. |
Cmd-Z / Shift-Cmd-Z |
Undo or redo the last action. | One of the safest ways to experiment without fear. |
Cmd-A |
Select all. | Fast for bulk edits, file selection, or replacing content. |
Cmd-F |
Find inside the current window, page, or document. | Ideal for scanning long pages, logs, docs, and Finder results. |
Cmd-G / Shift-Cmd-G |
Jump to the next or previous search match. | Pairs naturally with Cmd-F. |
Cmd-N |
Create a new window or document. | Finder, browsers, editors, and many Apple apps use it. |
Cmd-O |
Open a file, project, or item. | Good for jumping straight into selected content. |
Cmd-S |
Save the current file. | The reflex shortcut that prevents accidental data loss. |
Cmd-P |
Open the print dialog. | Works in documents, browsers, PDFs, and many utilities. |
Cmd-W |
Close the current tab or window. | Great for cleanup without quitting the entire app. |
Cmd-Q |
Quit the current app. | Use it when you want the whole app closed, not just a window. |
Cmd-H |
Hide the current app. | Useful when you want visual focus without actually closing anything. |
Option-Cmd-H |
Hide all apps except the current one. | A fast way to clear desktop clutter. |
Cmd-Tab |
Switch to the next most recently used app. | The fastest way to move between open applications. |
Cmd-` |
Cycle between windows in the current app. | Especially useful when you have multiple Finder or browser windows open. |
Cmd-Space |
Open or close Spotlight. | Launch apps, search files, run math, and find settings instantly. |
Option-Cmd-Space |
Open Spotlight search from a Finder window. | Helpful when you want search scoped to file work. |
Control-Cmd-Space or Fn-E |
Open emoji and symbol picker. | Great for quick emoji, arrows, accents, and special symbols. |
Cmd-, |
Open settings for the frontmost app. | Usually the fastest path to preferences. |
Control-Cmd-F |
Toggle full screen for the current app. | Useful when you want distraction-free work. |
Fn-Q |
Create a Quick Note. | Great when you want to capture an idea without losing context. |
Option-Cmd-Esc |
Open the Force Quit window. | Use it when a GUI app is frozen and refuses to close normally. |
These are the ones that make Finder feel fast instead of slow and menu-driven.
| Shortcut | What it does | Why you will use it |
|---|---|---|
Space |
Quick Look preview for the selected file. | Preview images, PDFs, text, and many files instantly without opening the app. |
Shift-Cmd-N |
Create a new folder in Finder. | One of the fastest file-organizing moves on macOS. |
Control-Cmd-N |
Create a folder containing the selected items. | Great for cleaning messy downloads or grouping related files fast. |
Shift-Cmd-. |
Show or hide hidden files. | Perfect when you need to inspect dotfiles like .gitignore or .zshrc. |
Cmd-I |
Open Get Info for the selected item. | Useful for size, permissions, file type, and metadata. |
Cmd-D |
Duplicate the selected file. | Fast way to make a safe copy before editing something important. |
Cmd-E |
Eject the selected disk, drive, or volume. | Use before unplugging external storage. |
Cmd-Delete |
Move the selected item to Trash. | Cleaner and faster than dragging files to the Trash icon. |
Cmd-F |
Start a Finder search. | Quick path to file discovery when you do not want Spotlight first. |
Fn-A |
Show or hide the Dock. | Helpful when you want extra screen space or less clutter. |
Fn-C |
Show or hide Control Center. | Good for quick audio, Wi-Fi, Bluetooth, and display controls. |
Fn-D |
Start or stop Dictation. | Useful when you want voice-to-text without leaving your current app. |
Fn-N |
Show or hide Notification Center. | Quick way to review alerts without opening extra panels. |
Fn-Shift-A |
Open Apps or Launchpad, depending on macOS version. | Useful for browsing installed apps visually. |
Fn-Fn |
Open Character Viewer. | Helpful for symbols, accented characters, and emoji selection. |
Command then Command again |
Open or close Type to Siri. | Useful if you prefer typing requests instead of speaking them. |
Control-Space |
Switch input source. | Important if you type in more than one language or layout. |
Control-Option-Space |
Move to the next input source. | Useful for cycling through multiple configured keyboards. |
Control-Up Arrow |
Open Mission Control. | Shows all spaces and windows so you can reorganize your desktop fast. |
Control-Down Arrow |
Show all windows of the front app. | Excellent when one app has several documents or browser windows open. |
Cmd-M |
Minimize the current window to the Dock. | Useful when you want it out of the way but still open. |
These are the shortcuts people usually end up searching for in a hurry. Memorizing them once pays off for years.
| Shortcut | What it does | Notes |
|---|---|---|
Shift-Cmd-3 |
Capture the entire screen. | The screenshot normally saves to the desktop. |
Shift-Cmd-4 |
Capture a selected region. | After pressing it, drag to choose the area you want. |
Shift-Cmd-4, then Space |
Capture a specific window. | Great for cleaner screenshots of one app window without manual cropping. |
Shift-Cmd-5 |
Open the screenshot and screen-recording toolbar. | Best all-in-one panel for screenshots, window capture, timer, and recordings. |
Control + screenshot shortcut |
Copy the screenshot to the clipboard instead of saving it to the desktop. | Perfect when you want to paste directly into chat, notes, or email. |
Control-Cmd-Q |
Lock the screen immediately. | One of the best privacy habits when you step away from your Mac. |
Shift-Cmd-Q |
Log out of the current macOS account. | macOS asks for confirmation first. |
Option-Shift-Cmd-Q |
Log out immediately. | Skips the confirmation dialog. |
Touch ID press |
Lock the screen on keyboards with Touch ID. | On a MacBook Air M2 this is the fast physical lock control. |
Touch ID hold at startup |
Open Startup Options on Apple silicon. | Use it for Recovery, startup disk selection, and Safe Mode access. |
Touch ID hold while Mac is unresponsive |
Force power off. | Use only when the Mac is frozen and normal shutdown is impossible. |
These work in many text fields and editors. Behavior can vary by app, but the patterns below are part of standard macOS text editing.
| Shortcut | What it does | Where it shines |
|---|---|---|
Option-Left Arrow / Option-Right Arrow |
Move one word left or right. | Huge speedup when editing long commands, URLs, notes, or code. |
Option-Shift-Left Arrow / Option-Shift-Right Arrow |
Select by word instead of by character. | Perfect for cleaning up text quickly. |
Cmd-Left Arrow / Cmd-Right Arrow |
Jump to the beginning or end of the current line. | Essential in terminals, editors, browsers, and forms. |
Shift-Cmd-Left Arrow / Shift-Cmd-Right Arrow |
Select from the cursor to the start or end of the line. | Very useful when replacing chunks of text. |
Cmd-Up Arrow / Cmd-Down Arrow |
Jump to the beginning or end of the document or text area. | Helpful in long files, notes, and documents. |
Shift-Cmd-Up Arrow / Shift-Cmd-Down Arrow |
Select from the cursor to the start or end of the document. | Fast for selecting large text blocks. |
Option-Delete |
Delete the word to the left of the insertion point. | Much faster than tapping Delete repeatedly. |
Fn-Delete |
Forward delete on laptops without a dedicated forward-delete key. | Deletes the character to the right of the cursor. |
Control-H |
Delete the character to the left of the cursor. | Classic terminal and text-field editing behavior. |
Control-D |
Delete the character to the right of the cursor. | A handy keyboard-only alternative to forward delete. |
Control-A |
Move to the beginning of the line or paragraph. | Especially useful in shells and simple text fields. |
Control-E |
Move to the end of the line or paragraph. | Pairs naturally with Control-A. |
Control-F / Control-B |
Move one character forward or backward. | Good when you want small cursor moves without touching arrow keys. |
Control-N / Control-P |
Move down or up one line. | Very useful in text areas and terminal-style editing. |
Control-O |
Insert a new line after the insertion point. | Nice for quick editing without changing where your cursor focus is. |
Control-L |
Center the cursor or selection in the visible area. | Useful in longer documents when you lose visual context. |
Control-Cmd-D |
Show dictionary definition for the selected word. | Great for quick lookups without leaving the app. |
These are especially helpful if you want to navigate macOS without always reaching for the trackpad.
| Shortcut | What it does | When to use it |
|---|---|---|
Option-Cmd-F5 |
Open the Accessibility Shortcuts panel. | Fast gateway to VoiceOver, Zoom, color filters, captions, and more. |
Triple-press Touch ID |
Open Accessibility Shortcuts. | A good hardware shortcut if you prefer not to remember the key combo. |
Control-F2 or Fn-Control-F2 |
Move focus to the menu bar. | Useful for full keyboard navigation of app menus. |
Control-F3 or Fn-Control-F3 |
Move focus to the Dock. | Lets you navigate Dock items with the keyboard. |
Control-F4 or Fn-Control-F4 |
Move focus to the active or next window. | Helpful for window switching when you want less trackpad use. |
Control-F5 or Fn-Control-F5 |
Move focus to the window toolbar. | Useful for controls near the top of app windows. |
Control-F6 or Fn-Control-F6 |
Move focus to the floating window. | Helpful in apps that open inspector or floating panels. |
Control-Shift-F6 |
Move focus to the previous panel. | Lets you step backward through panels instead of forward only. |
Control-F7 or Fn-Control-F7 |
Change how Tab navigates controls. | Useful if you want Tab to move through all controls, not just text boxes and lists. |
Control-F8 or Fn-Control-F8 |
Move focus to the status menu in the menu bar. | Good for keyboard access to Wi-Fi, battery, sound, and other status items. |
Tab / Shift-Tab |
Move to the next or previous control. | The basic habit behind full keyboard navigation. |
Control-Tab / Control-Shift-Tab |
Move between grouped controls. | Helpful in forms, grouped options, and dialog layouts. |
Control-Option-Cmd-8 |
Invert colors. | Useful if you have enabled that accessibility shortcut in settings. |
Control-Option-Cmd-, / Control-Option-Cmd-. |
Reduce or increase contrast. | Helpful for visual accessibility adjustments. |
Search or filter the atlas below. The goal is not just to show command names, but to explain what each one is for and when it is a good idea to use it.
| Command | What it does | When to use it |
|---|---|---|
pwd |
Prints the current working directory. | Use it anytime you are unsure where you are in the filesystem. |
ls -la |
Lists files in long format including hidden files. | Great first command in any folder you are exploring. |
cd .. / cd ~ |
Moves up one directory or back to your home folder. | Core navigation habit for staying oriented. |
mkdir sandbox |
Creates a new directory. | Use it to make a safe place for practice or a new project folder. |
touch notes.txt |
Creates an empty file if it does not exist. | Useful for quick file creation or testing paths. |
cat notes.txt |
Prints the contents of a file to the terminal. | Good for small text files or quick inspection. |
cp source.txt copy.txt |
Copies a file. Use -r for directories. |
Use it when duplicating files or folders safely. |
mv old.txt new.txt |
Moves or renames files and folders. | Use it to rename things without opening Finder. |
rm file.txt |
Deletes a file immediately. | Use carefully. Unlike Finder delete, there is no Trash safety net here. |
open . |
Opens the current directory in Finder. | Excellent bridge between Terminal and the GUI. |
open report.pdf |
Opens a file in its default macOS application. | Great for previewing output without leaving Terminal. |
find . -name "*.log" |
Searches for files matching a pattern under the current directory. | Use it when you know the filename pattern but not the exact location. |
grep -R "TODO" . |
Searches file contents recursively for matching text. | Useful for source code, notes, and config searches. |
mdfind "invoice" |
Uses Spotlight indexing from Terminal to find matching files. | Very fast when Spotlight already knows about the file. |
echo "hello" | pbcopy |
Sends text to the macOS clipboard. | Perfect when you want command output ready to paste elsewhere. |
pbpaste |
Prints the current clipboard contents. | Useful for checking or piping clipboard text into other commands. |
ps aux |
Lists running processes and their details. | Use it when an app feels stuck or you need to identify a process ID. |
top |
Shows live CPU and memory usage. | Good quick check when the Mac feels slow or hot. |
kill 12345 |
Asks a process to stop by PID. | Use it when an app ignores the normal close flow. |
killall Finder |
Stops all processes with that name and lets macOS restart them if appropriate. | Common for refreshing Finder or quitting stubborn apps. |
df -h |
Shows filesystem disk usage in human-readable form. | Use it when you think storage is running low. |
du -sh ~/Downloads |
Shows how much disk space a folder is using. | Useful for finding large directories quickly. |
pmset -g batt |
Displays current battery and charging status. | Good quick battery check without opening System Settings. |
system_profiler SPHardwareDataType |
Shows hardware details like model, serial, and memory. | Helpful when you need exact machine specs. |
ifconfig |
Lists network interfaces and IP details. | Use it when you want the raw network interface view. |
ping google.com |
Tests basic reachability to another host. | Use it when network access feels questionable. |
curl https://example.com |
Fetches data from a URL. | Great for testing web responses and APIs from Terminal. |
lsof -i :3000 |
Shows which process is using a specific port. | Very useful when a local dev server says the port is already in use. |
scutil --dns |
Displays macOS DNS resolver information. | Use it when DNS behavior looks strange. |
brew --version |
Shows the installed Homebrew version. | Quick check before using Brew commands. |
brew search python |
Searches Homebrew formulas and casks. | Use it when you know roughly what tool you want but not the exact package name. |
brew install wget |
Installs a command-line package. | Use it to add developer tools or missing Unix utilities cleanly. |
brew list |
Lists installed Homebrew packages. | Good for auditing what you already have installed. |
brew update && brew upgrade |
Refreshes Brew metadata and upgrades installed packages. | Use occasionally to keep your tooling current. |
brew cleanup |
Removes outdated Homebrew package versions and cached files. | Useful when Brew is taking more disk space than expected. |
say "Hello from your Mac" |
Makes macOS speak the given text aloud. | Fun, but also useful for quick audio alerts or demos. |
screencapture ~/Desktop/shot.png |
Takes a screenshot from Terminal. | Use it for automation or when you want predictable screenshot output paths. |
defaults read com.apple.finder |
Reads preference values for an app or system domain. | Useful for inspecting settings, but change-related defaults commands deserve extra care. |
clear |
Clears the terminal display. | Simple but nice for resetting visual clutter while you work. |
history |
Shows your shell command history. | Useful when you want to repeat or learn from previous commands. |
Tip: use pwd, ls -la, open ., pbcopy, and brew search often. They are high-value, low-risk commands for building confidence.
These exercises are intentionally beginner-safe. They focus on reading state, creating a sandbox, using built-in tools, and building confidence without touching sensitive system areas.
Create one safe folder in your home directory and use it for experiments.
Practice switching between CLI and GUI instead of treating them as separate worlds.
Check battery, storage, ports, clipboard, and network info with read-only commands.
Know when not to use rm and keep experiments inside folders you control.
Make one folder under your home directory and do all your early experiments there.
cd ~
mkdir mac-sandbox
cd mac-sandbox
pwd
open .
Practice core navigation and file commands in your sandbox.
cd ~/mac-sandbox
mkdir notes
touch notes/today.txt
ls -la
cat notes/today.txt
open notes
Move text into and out of the macOS clipboard without leaving the shell.
echo "Mac power user mode" | pbcopy
pbpaste
Check battery, disk, hardware, and active ports without changing anything.
pmset -g batt
df -h
system_profiler SPHardwareDataType
lsof -i :3000
Try both filesystem search and Spotlight-backed search so you feel the difference.
cd ~/mac-sandbox
touch report.txt
find . -name "report.txt"
mdfind "report"
Practice searching and installing a package using the standard Mac package manager.
brew search tree
brew install tree
brew list | grep tree
Most Mac command problems are easier to solve when you ask the right question first: is this a path issue, a permissions issue, a missing command, a process issue, or a network issue?
Use pwd and ls -la before assuming the file is missing.
path
If macOS says command not found, verify spelling or install the tool with Brew if appropriate.
tool
Use ps, top, lsof, or ifconfig based on the symptom.
state
Do not jump to sudo unless you understand why a command needs elevated privileges.
permissions
| Signal | Likely meaning | First move |
|---|---|---|
command not found |
The command is not installed, misspelled, or not in your shell path. | Recheck the name or install it with Brew if appropriate |
No such file or directory |
The path is wrong or you are in the wrong folder. | pwd and ls -la |
Permission denied |
The file, folder, or command needs different permissions or elevated access. | Inspect the file and understand why before using sudo |
| Port already in use | Another app is already listening on that port. | lsof -i :PORT |
| Mac feels slow | A runaway process, memory pressure, or low disk space may be involved. | top, ps aux, df -h |
| Brew behaves strangely | Its metadata or packages may need refreshing. | brew update then brew doctor |
This fake terminal is here so you can practice safe commands and build intuition around prompts, paths, file listings, clipboard utilities, and Mac-specific helpers.
The best safety habit on macOS is understanding command intent before you run it. Read-only commands build confidence. Deletion and privilege commands deserve more thought.
pwd, ls -la, open ., pbpaste, pmset -g batt, df -h.rm, especially rm -r, because it deletes immediately.sudo, because it grants elevated privileges.defaults write and force-quit style commands when you are not sure what they affect.Once Terminal and basic macOS power moves feel natural, the next leap is combining them with scripting, Git, development tools, and automation for repeatable workflows.
macOS power use becomes even more useful once it connects to developer tooling and infrastructure topics.