HTML CSS JS

Special Keys ⌨️

Special Mac keyboard symbols
  • Command (or Cmd)
       Used for most keyboard shortcuts on macOS
  • Shift
       Modifies other keys, often for capital letters or alternative functions
  • Option (or Alt)
       Used for entering special characters or as a modifier in shortcuts
  • Control (or Ctrl)
       Commonly used in combination with other keys for shortcuts
  • Caps Lock
       Toggles capitalization for all letters
  • 🌐 Fn
       Accesses alternative functions or keys, especially on laptops

Apps 📱

Mac OS X Applications.

🗂️ Finder
The gateway to your computer. Use Finder for easy access to all your files, applications, and folders.

🧭 Safari
Apple's fast and secure web browser, offering smooth browsing, privacy features, and integration with Apple's ecosystem.

⚙️ System Settings
Manage how your Mac works, with control over display settings, networking, language, hardware, software updates, and more.

🎵 Music
Manage your music library. Create playlists, buy or stream music from Apple Music, and listen to online radio channels.

✉️ Mail
Send, receive, and organize emails from multiple accounts, with powerful filtering and management tools.

🖼️ Photos
Organize and edit your photos. Sync with iCloud, create albums, apply edits, and order prints or photo books.

💬 Messages
Send texts and multimedia through iMessage, and integrate with SMS, group chats, and FaceTime for seamless communication.

🎬 iMovie
Produce high-quality videos. Edit and cut clips, add special effects, music, and create professional-looking movies easily.

📝 Pages
Create beautiful documents. Use templates or start from scratch for word processing with rich media integration.

📊 Keynote
Create stunning presentations with cinematic transitions, animations, and real-time collaboration with others.

📈 Numbers
Apple's spreadsheet app, offering intuitive table management, charts, and real-time collaboration capabilities.

🎥 Final Cut Pro
A professional video editing tool offering advanced editing, motion graphics, and color grading.

🎸 GarageBand
Record, produce, and mix music or podcasts with this powerful yet user-friendly audio editing tool.

⏰ Reminders
Stay organized by setting tasks, deadlines, and reminders across your devices with iCloud sync.

📞 FaceTime
Make high-quality video and audio calls to other Apple devices, supporting both group and one-on-one calls.

📅 Calendar
Plan your day, schedule events, set reminders, and sync with other devices using iCloud for seamless organization.

🗒️ Notes
Capture ideas, to-do lists, and sketches. Organize your notes with folders, and sync them across all your Apple devices.

🖥️ Preview
View, edit, and sign PDFs, images, and other documents. Annotate files, fill out forms, and make quick edits.

🕰️ Time Machine
Automatic backup system for your Mac. Recover lost files, restore your system, and keep your data safe with ease.

🛍️ App Store
Discover and download apps, games, and utilities from the official Apple marketplace with trusted reviews and updates.

Ads📣

We show ads to support this free website.

Important Shortcuts ✂️

Copy, paste, and other common shortcuts.

 C: Copy the selected item to the Clipboard (works in Finder too).

 V: Paste Clipboard contents into the current document/app (works in Finder too).

 Z: Undo the last command. Use Z to Redo.

 A: Select all items.

 F: Find items or open a Find window.

 G: Find next occurrence. G finds the previous one.

 H: Hide front app windows. H hides others.

 M: Minimize the front window. M minimizes all windows of the front app.

 O: Open the selected item or a dialog to open a file.

 P: Print the current document.

 S: Save the current document.

 T: Open a new tab.

 W: Close the front window. W closes all windows of the app.

 Esc: Force quit an app.

 Space: Show/hide Spotlight. Space opens Spotlight from Finder.

 Space: Open Character Viewer for emoji and symbols.

 F: Enter full screen (if supported).

Space bar: Quick Look preview of the selected item.

 Tab: Switch to the next most recently used app.

Grave (`): Switch between windows of the current app.

 5: Take a screenshot or record screen (macOS Mojave+). Use 3 or 4 for screenshots.

 N: Create a new folder in Finder.

Comma (,): Open preferences for the front app.

Power Shortcuts 🔌

Sleep, log out, and shut down shortcuts.

Hold some of these shortcuts slightly longer to avoid unintentional use.

Power button: Press to turn on/wake your Mac. Hold 1.5 sec to sleep. Hold longer to force shutdown.

 Power or : Put Mac to sleep.

 Power or : Put displays to sleep.

 Power or : Show restart, sleep, or shutdown dialog.

 Power: Force restart (unsaved work will not be saved).

: Quit apps, then restart (you'll be prompted to save changes).

 Power or : Quit apps, then shut down (you'll be prompted to save changes).

 Q: Lock your screen immediately.

 Q: Log out. Q logs out immediately without confirmation.

* Does not apply to the Touch ID sensor.

System Shortcuts 🔎

Finder and system shortcuts.

 D: Duplicate selected files.

 E: Eject selected disk or volume.

 F: Start a Spotlight search in Finder.

 I: Show Get Info for a file.

 R: (1) Show original file for alias. (2) Reload/refresh page. (3) Check for software updates.

 C: Open Computer window.

 D: Open desktop folder.

 F: Open Recents window.

 G: Open Go to Folder window.

 H: Open Home folder.

 I: Open iCloud Drive.

 K: Open Network window.

 L: Open Downloads folder.

 N: Create a new folder.

 O: Open Documents folder.

 P: Show/hide Preview pane in Finder.

 R: Open AirDrop.

 T: Show/hide tab bar in Finder.

 T: Add selected item to Dock.

 U: Open Utilities folder.

 D: Show/hide Dock.

 T: Add selected item to sidebar.

 P: Hide/show path bar in Finder.

 S: Hide/show sidebar in Finder.

 /: Hide/show status bar in Finder.

 J: Show View Options.

 K: Open Connect to Server window.

 A: Make an alias of selected item.

 N: Open new Finder window.

 N: Create new Smart Folder.

 T: Show/hide tab bar when one tab is open.

 T: Show/hide toolbar in Finder.

 V: Move Clipboard files to current location.

More System Shortcuts ⏏️

More finder and system shortcuts.

 Y: Quick Look to preview files.

 Y: Quick Look slideshow of selected files.

 1: View items as icons.

 2: View items as list.

 3: View items in columns.

 4: View items in gallery.

 [: Go to previous folder.

 ]: Go to next folder.

Up Arrow: Open containing folder.

Up Arrow: Open containing folder in new window.

Down Arrow: Open selected item.

Right Arrow: Open selected folder (list view).

Left Arrow: Close selected folder (list view).

 Delete: Move selected item to Trash.

 Delete: Empty Trash.

 Delete: Empty Trash without confirmation.

Brightness Down: Toggle video mirroring.

Brightness Up: Open Displays preferences.

Brightness Up/Down: Adjust external display brightness.

Brightness Up/Down: Adjust brightness in smaller steps (add Control for external display).

Mission Control: Open Mission Control preferences.

Mission Control: Show desktop.

Down Arrow: Show all windows of front app.

Volume Up: Open Sound preferences.

Volume Up/Down: Adjust volume in smaller steps.

Keyboard Brightness Up: Open Keyboard preferences.

Keyboard Brightness Up/Down: Adjust keyboard brightness in smaller steps.

Option double-click: Open item in new window, close original.

Command double-click: Open folder in new tab or window.

 drag: Move item to another volume.

 drag: Copy dragged item.

Command drag: Make an alias of dragged item.

click disclosure triangle: Open all folders within selected folder (list view).

click window title: See containing folders.

Ads📣

We show ads to support this free website.
HTML
CSS
Apply CSS
Preview

Must-Know Terminal Commands for Mac Users

The mouse lets you click buttons and menus to perform tasks quickly and execute commands. Mac Terminal commands let you control your computer better. It allows users to type commands instead of clicking, which provides a faster way of doing tasks.

Learning the macOS command line lets you quickly check your system health, change directories, and manage apps, processes, and files. There are hundreds of Terminal commands available for users. Here is an important Mac Terminal commands cheat sheet that you should know.

Useful Terminal commands Mac for managing processes

Your Mac sometimes runs many background processes that might cause software freeze or sudden crash. Terminal commands help you list the background processes and terminate them. This avoids issues like the spinning ball and slowed computer. Follow this command prompt Mac.

Mac users should ensure they keep their computers running smoothly through proper maintenance. The advanced Terminal codes cannot run smoothly on a poorly maintained Mac. Enhanced maintenance requires Mac customization and organization. Manage startup processes and update software regularly. Clean the hardware to keep your Mac running as though it were new. CleanMyMac helps you remove unused apps and maintain the entire system. But, is CleanMyMac legit and secure for Mac computers? Yes, it is. This app is safe and legit ensuring your computer stays clean from all clutter.

Open the Mac Terminal in the Utilities app and type the command ps. This lists the active background processes. You may type ps aux for a detailed list.

access mac terminal
Source: WikiHow

Name

ps — stdin stdout - file -- opt --help --version

Synopsis

ps [options]

The ps command displays information about your running processes, and optionally the processes of other users:

➜ ps

PID TTY TIME CMD
4706 ttys000 00:00:01 bash
15007 ttys000 00:00:00 emacs
16729 ttys000 00:00:00 ps

ps has at least 80 options; we’ll cover just a few useful combinations. To view your processes:

➜ ps -x

all of user smith’s processes:

➜ ps -u smith

all occurrences of a program:

➜ ps -axc | grep -w program_name

processes on terminal ttys000:

➜ ps -t s000

particular processes 1, 2, and 3505:

➜ ps -p 1,2,3505

and all processes and their threads:

➜ ps -axM

Next, type the command kill to close the processes. You can also terminate individual processes by name.

tim@Tims-MacBook-Pro ~ % ps -ax

PID TTY   TIME CMD
1 ??    3:09.69 /sbin/launchd
317 ??    1:56.14 /usr/libexec/logd
318 ??    0:00.05 /usr/libexec/smd
319 ??    0:09.20 /usr/libexec/UserEventAgent (System)
321 ??    0:01.36 /System/Library/PrivateFrameworks/Uninstall.framework/
322 ??    1:43.46 /System/Library/Frameworks/CoreServices.framework/Vers
323 ??    0:15.74 /System/Library/PrivateFrameworks/MediaRemote.framework
325 ??    0:36.40 /usr/sbin/systemstats --daemon
327 ??    0:41.96 /usr/libexec/configd
328 ??    0:00.01 endpointsecurityd
329 ??    1:30.92 /System/Library/CoreServices/powerd.bundle/powerd
330 ??    0:01.98 /usr/libexec/IOMFB_bics_daemon
331 ??    0:02.17 /System/Library/PrivateFrameworks/BiomeStreams.framewo
333 ??    0:00.57 /usr/libexec/amfid
335 ??    0:00.03 /usr/libexec/remoted
337 ??    0:00.43 /usr/libexec/keybagd -t 15
338 ??    0:00.34 /System/Library/PrivateFrameworks/MobileSoftwareUpdate
340 ??    0:00.95 /usr/libexec/watchdogd
344 ??    2:02.15 /System/Library/Frameworks/CoreServices.framework/Fram
345 ??    0:00.08 /System/Library/CoreServices/iconservicesd
346 ??    0:01.03 /usr/libexec/kerneleventagent
347 ??    0:15.13 /usr/libexec/diskarbitrationd

Take note of the PID number next to the process you want to kill, then kill it by running the

kill PID

command. For example,

kill 3500

To kill a process immediately (also known as force quit) use

kill -9 3500

Navigate files with the macOS command line

Terminal codes let you list contents in a directory, print, or change it.

Type the cd command and folder name to open it quickly.

Example: Type cd Documents to open the Documents folder. To return to a previous folder, type cd …

Last login: Fri Jan 26 10:48:53 on ttys000
[connieyang@Yangs-Mac-mini ~ % cd ~/Documents
[connieyang@Yangs-Mac-mini Documents % ls
Archive-2023-19-01-19-08.zip
Archive-2023-58-03-58-34.zip
Documents 1
Screen Shot 2023-05-15 at 10.38.06 AM.png
Untitled.dmg
MagicMenu feedback.docx
 Test
__________ 2
__________ 2.zip
[connieyang@Yangs-Mac-mini Documents % cd ..
[connieyang@Yangs-Mac-mini ~ % cd -
~/Documents
connieyang@Yangs-Mac-mini Documents %

Type ls, to display contents in a directory.

Use ls -a to view hidden folders.

view hidden folders mac
Source: Catalin's Tech

Type pwd to view the exact directory.

pwd

Print Working Directory - the absolute pathname of the current folder (i.e. it tells you where you are).

Syntax pwd [-LP] Key -P The pathname printed contains no symbolic links -L The pathname printed can contain symbolic links.

Enabling the -o physical option for the set builtin command is equivalent to -P.

Use Mac Terminal commands cheat sheet to manage files

Mac Terminal codes for file management allow users to copy files, delete them, or move them quickly.

Type mv to move a file or remove it. Here is an example of a command prompt Mac to move or rename a file.

% mv ~/Downloads/MyFile.txt ~/Documents/Work/MyFile.txt You can also change the name of the file as it’s moved:
% mv ~/Downloads/MyFile.txt ~/Documents/Work/NewFileName.txt

Use the command cp to copy files and paste them in another location. Type cp – file source – file destination. Type cp -r -source – destination to copy and paste an entire folder. For example, use this command to copy an Expenses folder to a Data folder on the Mac Terminal.

% cp -R ~/Documents/Expenses /Volumes/Data/Expenses

Type rm to delete a file or folder. The rm -r (folder) command deletes all folder content. The rm file.txt command deletes file.txt. Here is an example.

rm MyFile.rtf MyCV.rtf MyGreatAmericanNovel.rtf
rm -i MyFile.rtf MyCV.rtf MyGreatAmericanNovel.rtf

Use the command prompt Mac to check system information

System information commands show important system data. It displays system health, macOS version, performance, and processes. Here are some important system information Terminal commands you should know.

Use Terminal codes to customize your Mac

Terminal commands allow you to change settings and personalize your computer. There are several ways to do this.

Type chflags hidden to hide files or keep folders hidden. To change macOS settings, type the command defaults write. Here is an example; the command “defaults write com.apple.finder appleshowallfiles TRUE” shows hidden files. Type chflags nonhidden (type file or folder name) to remove hidden settings. Hiding files enhances security and data privacy.

Open the Terminal app from Launchpad.

open terminal app launchpad

Type the following command and click Enter: chflags hidden

chflags hidden command

Then drag and drop the file you want to hide from Finder to Terminal, and click Enter.

hide from finder terminal

Other important Terminal Commands

Conclusion

Terminal commands streamline your Mac workflow and enhance user experience. Learning them helps you manage files, and processes, and personalize the system. Start by learning the basics and progress to the advanced Terminal commands. Advanced functionalities let you optimize Mac performance and your productivity. Every command from killing processes to monitoring system health is important. It can transform your user experience, and cause a boost in work output.