An A-Z Index of The Apple macOS Command Line - SS64 Command Line Reference
An A-Z Index of The Apple macOS Command Line - SS64 Command Line Reference
https://ss64.com/mac/ 1/8
22/09/2024, 03:19 An A-Z Index of the Apple macOS command line - SS64 Command line reference
https://ss64.com/mac/ 2/8
22/09/2024, 03:19 An A-Z Index of the Apple macOS command line - SS64 Command line reference
https://ss64.com/mac/ 3/8
22/09/2024, 03:19 An A-Z Index of the Apple macOS command line - SS64 Command line reference
https://ss64.com/mac/ 4/8
22/09/2024, 03:19 An A-Z Index of the Apple macOS command line - SS64 Command line reference
https://ss64.com/mac/ 5/8
22/09/2024, 03:19 An A-Z Index of the Apple macOS command line - SS64 Command line reference
rm Remove files
rmdir Remove folder(s)
rsync Remote file copy - Sync file tree
S
say Convert text to audible speech
screen Multiplex terminal, run remote shells via ssh
screencapture Capture screen image to file or disk
scselect Switch between network locations
scutil Manage system configuration parameters
sdiff Merge two files interactively
security Administer Keychains, keys, certificates and the Security framework
sed Stream Editor
select Generate a list of items •
seq Print numeric sequences
serverinfo Server information
set Set a shell variable = value •
setfile Set attributes of HFS+ files
sharing Create share points for afp, ftp and smb services
shasum Print or Check SHA Checksums
shift Shift positional parameters •
shopt Set shell options •
shortcuts Manage macOS shortcuts
shutdown Shutdown or restart macOS
sips Scriptable image processing system
sleep Delay for a specified time
softwareupdate System software update tool
sort Sort text files
source Execute commands from a file •
spctl Security assessment policy/Gatekeeper
split Split a file into fixed-size pieces
sqlite3 SQL database (download history)
srm Securely remove files or directories
stat Display the status of a file
stop Stop a job or process
su Substitute user identity
sudo Execute a command as another user
sum Print a checksum for a file
suspend Suspend execution of this shell •
sw_vers Print macOS Operating System version
sysctl Get or set kernel state
system_profiler Report system configuration
systemsetup Computer and display system settings
T
tabs Set terminal tabs
tab2space Expand tabs and ensure consistent cr/lf line endings
tail Output the last part of files
tar Tape ARchiver
taskpolicy Execute a program with an altered I/O or scheduling policy
tccutil Manage the privacy database
https://ss64.com/mac/ 6/8
22/09/2024, 03:19 An A-Z Index of the Apple macOS command line - SS64 Command line reference
https://ss64.com/mac/ 7/8
22/09/2024, 03:19 An A-Z Index of the Apple macOS command line - SS64 Command line reference
Commands marked • are bash built-in commands, it runs under Darwin the open source core of macOS.
In macOS Catalina the default shell will change to zsh and in time this page will be updated to include that.
See also: Websites, Books, Apps & Utilities for macOS and the SS64 Discussion forum
“Mac OS X is a rock-solid system that’s beautifully designed. I much prefer it to Linux” ~ Bill Joy
https://ss64.com/mac/ 8/8