-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathosx.1.html
334 lines (334 loc) · 22 KB
/
osx.1.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
<!doctype html><html lang="en">
<head><meta charset="UTF-8">
<link rel="STYLESHEET" href="main.css" type="text/css">
<title>An A-Z Index of the Apple OS X command line | SS64 Command line reference</title>
<meta name="Description" CONTENT="An A-Z Index of the Apple OS X command line">
<link rel="alternate" type="application/rss+xml" title="RSS" href="rss.xml">
<style type="text/css">
.white { color: #FFFFFF; font-weight: bold; }
</style>
</head><body>
<div id="tnav"><ul>
<li class="tbtn"><a href="index.html">( SS64 )</a></li>
<li class="tbtn"><a href="links/osx.html">Links</a></li>
<li class="tbtn"><a href="osx/syntax.html">Syntax</a></li>
<li><div id="search"><form action="https://www.google.com/search" method="get">
<button tabindex="-1" type="submit" id="q-img"></button>
<input type="text" name="q" id="q" size="27" maxlength="255" onblur="if(this.value=='')this.value='Search…';" onclick="if(this.value=='Search…')this.value='';" value="Search…">
<input type="hidden" name="sitesearch" value="ss64.com"></form></div></li>
</ul></div>
<h1>An A-Z Index of the <span class="white">Apple macOS</span> command line</h1>
<pre> <a href="osx/afconvert.html">afconvert</a> Audio File Convert
<a href="osx/afinfo.html">afinfo</a> Audio File Info
<a href="osx/afplay.html">afplay</a> Audio File Play
<a href="osx/airport.html">airport</a> Manage Apple AirPort
<a href="osx/alias.html">alias</a> Create an alias •
alloc List used and free memory
<a href="osx/apropos.html">apropos</a> Search the whatis database for strings
<a href="osx/asr.html">asr</a> Apple Software Restore
atsutil Font registration system utility
<a href="osx/awk.html">awk</a> Find and Replace text within file(s)
b
<a href="osx/basename.html">basename</a> Convert a full pathname to just a filename
<a href="osx/bash.html">bash</a> Bourne-Again SHell
<a href="osx/bg.html">bg</a> Send to background •
<a href="osx/bind.html">bind</a> Set or display readline key and function bindings •
<a href="osx/bless.html">bless</a> Set volume bootability and startup disk options
<a href="osx/break.html">break</a> Exit from a For, While, Until or Select loop •
<a href="osx/builtin.html">builtin</a> Execute a shell builtin •
<a href="osx/bzip.html">bzip2</a> Compress or decompress files
c
<a href="osx/caffeinate.html">caffeinate</a> Prevent the system from sleeping
<a href="osx/cal.html">cal</a> Display a calendar
<a href="osx/calendar.html">calendar</a> Reminder Service
<a href="osx/caller.html">caller</a> Return the context of a subroutine call •
<a href="osx/cancel.html">cancel</a> Cancel print jobs
<a href="osx/case.html">case</a> Conditionally perform a command •
<a href="osx/cat.html">cat</a> Concatenate and print (display) the content of files
<a href="osx/cd.html">cd</a> Change Directory •
<a href="osx/chflags.html">chflags</a> Change a file or folder's flags
<a href="osx/chgrp.html">chgrp</a> Change group ownership
<a href="osx/chmod.html">chmod</a> Change access permissions
<a href="osx/chown.html">chown</a> Change file owner and group
<a href="osx/chroot.html">chroot</a> Run a command with a different root directory
<a href="osx/cksum.html">cksum</a> Print CRC checksum and byte counts
clear Clear terminal screen
<a href="osx/cmp.html">cmp</a> Compare two files
<a href="osx/comm.html">comm</a> Compare two sorted files line by line
<a href="osx/command.html">command</a> Run a command (not a function) •
<a href="osx/complete.html">complete</a> Edit a command completion [word/pattern/list] •
<a href="osx/continue.html">continue</a> Resume the next iteration of a loop •
<a href="osx/cp.html">cp</a> Copy one or more files to another location
<a href="osx/cron.html">cron</a> Daemon to execute scheduled commands
<a href="osx/crontab.html">crontab</a> Schedule a command to run at a later date/time
<a href="bash/csplit.html">csplit</a> Split a file into context-determined pieces
<a href="osx/csrutil.html">csrutil</a> Configure System Integrity Protection (SIP)
<a href="osx/curl.html">curl</a> Transfer data from or to a server
<a href="osx/cut.html">cut</a> Divide a file into several parts
d
<a href="osx/date.html">date</a> Display or change the date & time
<a href="osx/dc.html">dc</a> Desk Calculator
<a href="osx/dd.html">dd</a> Convert and copy a file, clone disks
<a href="osx/declare.html">declare</a> Declare variable & set attributes •
<a href="osx/defaults.html">defaults</a> Set preferences, show hidden files
<a href="osx/df.html">df</a> Display free disk space
<a href="osx/diff.html">diff</a> Display the differences between two files
<a href="osx/diff3.html">diff3</a> Show differences among three files
<a href="osx/dig.html">dig</a> DNS lookup
<a href="osx/basename.html">dirname</a> Convert a full pathname to just a path
<a href="osx/dirs.html">dirs</a> Display list of remembered directories •
<a href="osx/diskutil.html">diskutil</a> Disk utilities - Format, Verify, Repair
<a href="osx/disown.html">disown</a> Unbind a job from the current login session •
<a href="osx/ditto.html">ditto</a> Copy files and folders
<a href="osx/dot_clean.html">dot_clean</a> Remove dot-underscore files
<a href="osx/drutil.html">drutil</a> Interact with CD/DVD burners
<a href="osx/dscacheutil.html">dscacheutil</a> Query or flush the Directory Service/DNS cache
<a href="osx/dseditgroup.html">dseditgroup</a> Edit, create, manipulate, or delete groups
<a href="osx/dsenableroot.html">dsenableroot</a> Enable root access
dsmemberutil View user and groups rights
<a href="osx/dscl.html">dscl</a> Directory Service command line utility
<a href="osx/du.html">du</a> Estimate file space usage
e
<a href="osx/echo.html">echo</a> Display text on screen •
ed A line-oriented text editor (edlin)
<a href="osx/enable.html">enable</a> Enable and disable builtin shell commands •
<a href="osx/env.html">env</a> List or Set environment variables
<a href="osx/eval.html">eval</a> Evaluate several commands/arguments •
<a href="osx/exec.html">exec</a> Execute a command •
<a href="osx/exit.html">exit</a> Exit the shell •
<a href="osx/execsnoop.html">execsnoop</a> Snoop new process execution
<a href="osx/expand.html">expand</a> Convert tabs to spaces
expect Programmed dialogue with interactive programs
Also see <a href="http://www.apple.com/applescript/">AppleScript</a>
<a href="osx/export.html">export</a> Set an environment variable •
<a href="osx/expr.html">expr</a> Evaluate expressions
f
<a href="osx/false.html">false</a> Do nothing, unsuccessfully
<a href="osx/fc.html">fc</a> Fix command (history)
<a href="osx/fdisk.html">fdisk</a> Partition table manipulator for Darwin UFS/HFS/DOS
fdesetup FileVault configuration, list FileVault users
<a href="osx/fg.html">fg</a> Send job to foreground •
<a href="osx/file.html">file</a> Determine file type
<a href="osx/find.html">find</a> Search for files that meet a desired criteria
<a href="osx/fmt.html">fmt</a> Reformat paragraph text
<a href="osx/fold.html">fold</a> Wrap text to fit a specified width
<a href="osx/for.html">for</a> Loop command •
<a href="osx/fsck.html">fsck</a> Filesystem consistency check and repair
<a href="osx/fsaclctl.html">fsaclctl</a> Filesystem enable/disable ACL support
<a href="osx/fs_usage.html">fs_usage</a> Filesystem usage (process/pathname)
<a href="osx/ftp.html">ftp</a> Internet file transfer program
<a href="osx/function.html">function</a> Define Function Macros
<a href="osx/fuser.html">fuser</a> List processes that have one or more files open
g
<a href="osx/getfileinfo.html">GetFileInfo</a> Get attributes of HFS+ files
<a href="osx/getopt.html">getopt</a> Parse positional parameters
<a href="osx/getopts.html">getopts</a> Parse positional parameters •
<a href="osx/goto.html">goto</a> Jump to label and continue execution
<a href="osx/grep.html">grep</a> Search file(s) for lines that match a given pattern
<a href="osx/id.html">groups</a> Print group names a user is in
<a href="osx/gzip.html">gzip</a> Compress or decompress files
h
<a href="osx/halt.html">halt</a> Stop and restart the operating system
<a href="osx/hash.html">hash</a> Refresh the cached/remembered location of commands •
<a href="osx/head.html">head</a> Display the first lines of a file
<a href="osx/hdiutil.html">hdiutil</a> Manipulate iso disk images
<a href="osx/history.html">history</a> Command History •
<a href="osx/hostname.html">hostname</a> Print or set system name
i
<a href="osx/iconv.html">iconv</a> Convert the character set of a file
<a href="osx/id.html">id</a> Print user and group names/id's
<a href="osx/if.html">if</a> Conditionally perform a command •
<a href="osx/ifconfig.html">ifconfig</a> Configure network interface parameters
<a href="osx/iostat.html">iostat</a> Report CPU and i/o statistics
<a href="osx/ipconfig.html">ipconfig</a> View and control IP configuration state
<a href="osx/info.html">info</a> Help info
<a href="osx/install.html">install</a> Copy files and set attributes
<a href="osx/iosnoop.html">iosnoop</a> Snoop I/O events as they occur
j
<a href="osx/jobs.html">jobs</a> List active jobs •
<a href="osx/join.html">join</a> Join lines on a common field
k
<a href="osx/kextfind.html">kextfind</a> List kernel extensions
<a href="osx/kextstat.html">kextstat</a> Display status of loaded kernel extensions (kexts)
<a href="osx/kextunload.html">kextunload</a> Terminate driver instances and unload kernel extensions.
<a href="osx/kickstart.html">kickstart</a> Configure Apple Remote Desktop
<a href="osx/kill.html">kill</a> Kill a process by specifying its PID
<a href="osx/killall.html">killall</a> Kill processes by name
l
<a href="osx/ls.html">l</a> List files in long format (ls -l)
<a href="osx/last.html">last</a> Indicate last logins of users and ttys
<a href="osx/launchctl.html">launchctl</a> Load or unload daemons/agents
<a href="osx/ls.html">ll</a> List files in long format, showing invisible files (ls -la)
<a href="osx/less.html">less</a> Display output one screen at a time
<a href="osx/let.html">let</a> Evaluate expression •
<a href="osx/lipo.html">lipo</a> Convert a universal binary
<a href="osx/ln.html">ln</a> Make links between files (hard links, symbolic links)
<a href="osx/local.html">local</a> Set a local (function) variable •
<a href="osx/locate.html">locate</a> Find files
logname Print current login name
<a href="osx/login.html">login</a> log into the computer
logout Exit a login shell (bye) •
<a href="osx/look.html">look</a> Display lines beginning with a given string
<a href="osx/lp.html">lp</a> Print files
<a href="osx/lpr.html">lpr</a> Print files
<a href="osx/lprm.html">lprm</a> Remove jobs from the print queue
<a href="osx/lpstat.html">lpstat</a> Printer status information
<a href="osx/ls.html">ls</a> List information about file(s)
<a href="osx/lsregister.html">lsregister</a> Reset the Launch Services database
<a href="osx/lsbom.html">lsbom</a> List a bill of materials file
<a href="osx/lsof.html">lsof</a> List open files
m
man Help manual
<a href="osx/mdfind.html">mdfind</a> Spotlight search
<a href="osx/mdutil.html">mdutil</a> Manage Spotlight metadata store
<a href="osx/mkdir.html">mkdir</a> Create new folder(s)
<a href="osx/mkfifo.html">mkfifo</a> Make FIFOs (named pipes)
<a href="osx/more.html">more</a> Display output one screen at a time
<a href="osx/mount.html">mount</a> Mount a file system
<a href="osx/mv.html">mv</a> Move or rename files or directories
n
<a href="osx/nano.html">nano</a> Simple text editor
<a href="osx/nc.html">nc/netcat</a> Read and write data across networks
<a href="osx/net.html">net</a> Manage network resources
netstat Show network status
networksetup Network and System Preferences
<a href="osx/nice.html">nice</a> Set the priority of a command
<a href="osx/nohup.html">nohup</a> Run a command immune to hangups
<a href="osx/ntfs-util.html">ntfs.util</a> NTFS file system utility
o
<a href="osx/onintr.html">onintr</a> Control the action of a shell interrupt
<a href="osx/open.html">open</a> Open a file/folder/URL/Application
<a href="osx/opensnoop.html">opensnoop</a> Snoop file opens as they occur
<a href="osx/osacompile.html">osacompile</a> Compile Applescript
<a href="osx/osascript.html">osascript</a> Execute AppleScript
p
<a href="osx/passwd.html">passwd</a> Modify a user password
<a href="osx/paste.html">paste</a> Merge lines of files
<a href="osx/pbcopy.html">pbcopy</a> Copy data to the clipboard
<a href="osx/pbpaste.html">pbpaste</a> Paste data from the Clipboard
<a href="osx/pkill.html">pgrep</a> List processes by a full or partial name
<a href="osx/ping.html">ping</a> Test a network connection
<a href="osx/pkill.html">pkill</a> Kill processes by a full or partial name
pkgutil Query and manipulate installed packages<br> plutil Property list utility
<a href="osx/pmset.html">pmset</a> Power Management settings
<a href="osx/popd.html">popd</a> Restore the previous value of the current directory •
<a href="osx/pr.html">pr</a> Convert text files for printing
<a href="osx/printenv.html">printenv</a> List environment variables
<a href="osx/printf.html">printf</a> Format and print data •
<a href="osx/ps.html">ps</a> Process status
<a href="osx/pushd.html">pushd</a> Save and then change the current directory
<a href="osx/pwd.html">pwd</a> Print Working Directory •
q
<a href="osx/quota.html">quota</a> Display disk usage and limits
r
<a href="osx/rcp.html">rcp</a> Copy files between machines
<a href="osx/read.html">read</a> Read one line from standard input •
<a href="osx/readonly.html">readonly</a> Mark a variable or function as read-only •
reboot Stop and restart the system
<a href="osx/return.html">return</a> Exit a function •
<a href="osx/rev.html">rev</a> Reverse lines of a file
<a href="osx/rm.html">rm</a> Remove files
<a href="osx/rmdir.html">rmdir</a> Remove folder(s)
<a href="http://www.rpm.org/">rpm</a> Remote Package Manager
<a href="osx/rsync.html">rsync</a> Remote file copy - Sync file tree
s
<a href="osx/say.html">say</a> Convert text to audible speech
<a href="osx/screen.html">screen</a> Multiplex terminal, run remote shells via ssh
<a href="osx/screencapture.html">screencapture</a> Capture screen image to file or disk
<a href="osx/scselect.html">scselect</a> Switch between network locations
<a href="osx/scutil.html">scutil</a> Manage system configuration parameters
<a href="osx/sdiff.html">sdiff</a> Merge two files interactively
<a href="osx/security.html">security</a> Administer Keychains, keys, certificates and the Security framework
<a href="osx/sed.html">sed</a> Stream Editor
<a href="osx/select.html">select</a> Generate a list of items •
<a href="osx/serverinfo.html">serverinfo</a> Server information
<a href="osx/set.html">set</a> Set a shell variable = value •
<a href="osx/setfile.html">setfile</a> Set attributes of HFS+ files
<a href="osx/sharing.html">sharing</a> Create share points for afp, ftp and smb services
<a href="osx/shasum.html">shasum</a> Print or Check SHA Checksums
<a href="osx/shift.html">shift</a> Shift positional parameters •
<a href="osx/shopt.html">shopt</a> Set shell options •
<a href="osx/shutdown.html">shutdown</a> Shutdown or restart OS X
<a href="osx/sips.html">sips</a> Scriptable image processing system
<a href="osx/sleep.html">sleep</a> Delay for a specified time
<a href="osx/softwareupdate.html">softwareupdate</a> System software update tool
<a href="osx/sort.html">sort</a> Sort text files
<a href="osx/source.html">source</a> Execute commands from a file •
spctl Security assessment policy/Gatekeeper
<a href="osx/split.html">split</a> Split a file into fixed-size pieces
<a href="osx/srm.html">srm</a> Securely remove files or directories
<a href="osx/stat.html">stat</a> Display the status of a file
<a href="osx/jobs.html">stop</a> Stop a job or process
<a href="osx/su.html">su</a> Substitute user identity
<a href="osx/sudo.html">sudo</a> Execute a command as another user
<a href="osx/cksum.html">sum</a> Print a checksum for a file
<a href="osx/suspend.html">suspend</a> Suspend execution of this shell •
<a href="osx/sw_vers.html">sw_vers</a> Print Mac OS X operating system version
<a href="osx/system_profiler.html">system_profiler</a> Report system configuration
<a href="osx/systemsetup.html">systemsetup</a> Computer and display system settings
t
<a href="osx/tail.html">tail</a> Output the last part of files
<a href="osx/tar.html">tar</a> Tape ARchiver
<a href="osx/tccutil.html">tccutil</a> Manage the privacy database
<a href="osx/tcpdump.html">tcpdump</a> Dump traffic on a network
<a href="osx/tee.html">tee</a> Redirect output to multiple files
<a href="osx/test.html">test</a> Condition evaluation •
<a href="osx/textutil.html">textutil</a> Manipulate text files in various formats (Doc,html,rtf)
<a href="osx/time.html">time</a> Measure Program Resource Use
<a href="osx/times.html">times</a> Print shell & shell process times •
<a href="osx/tmutil.html">tmutil</a> Time Machine utility
<a href="osx/top.html">top</a> Display process information
<a href="osx/touch.html">touch</a> Change file timestamps
<a href="osx/tput.html">tput</a> Set terminal-dependent capabilities, color, position
<a href="osx/tr.html">tr</a> Translate, squeeze, and/or delete characters
<a href="osx/trap.html">trap</a> Execute a command when the shell receives a signal •
<a href="osx/traceroute.html">traceroute</a> Trace Route to Host
<a href="osx/true.html">true</a> Do nothing, successfully
<a href="osx/tty.html">tty</a> Print filename of terminal on stdin
<a href="osx/type.html">type</a> Describe a command •
u
ufs.util Mount/unmount UFS file system
<a href="osx/ulimit.html">ulimit</a> limit the use of system-wide resources •
<a href="osx/umask.html">umask</a> Users file creation mask
<a href="osx/umount.html">umount</a> Unmount a device
<a href="osx/alias.html">unalias</a> Remove an alias •
<a href="osx/uname.html">uname</a> Print system information
<a href="osx/expand.html">unexpand</a> Convert spaces to tabs
<a href="osx/uniq.html">uniq</a> Uniquify files
<a href="osx/units.html">units</a> Convert units from one scale to another
<a href="osx/unset.html">unset</a> Remove variable or function names •
<a href="osx/while.html">until</a> Loop command •
<a href="osx/uptime.html">uptime</a> Show how long system has been running
users Print login names of users currently logged in
<a href="osx/uuencode.html">uuencode</a> Encode a binary file
<a href="osx/uuencode.html">uudecode</a> Decode a file created by uuencode
<a href="osx/uuidgen.html">uuidgen</a> Generate a Unique ID (UUID/GUID)
uucp Unix to Unix copy
v
<a href="vi.html">vi</a> Text Editor
w
<a href="osx/wait.html">wait</a> Wait for a process to complete •
<a href="osx/wall.html">wall</a> Write a message to users
<a href="osx/wc.html">wc</a> Print byte, word, and line counts
<a href="osx/whatis.html">whatis</a> Search the whatis database for complete words
<a href="osx/whereis.html">whereis</a> Locate a program
<a href="osx/which.html">which</a> Locate a program file in the user's path
<a href="osx/while.html">while</a> Loop command •
<a href="osx/who.html">who</a> Print all usernames currently logged on
<a href="osx/id.html">whoami</a> Print the current user id and name (`id -un')
<a href="osx/write.html">write</a> Send a message to another user
x
<a href="osx/xargs.html">xargs</a> Execute utility - passing arguments
<a href="osx/xattr.html">xattr</a> Display and manipulate extended attributes
<a href="osx/youtube-dl.html">youtube-dl</a> Download video
<a href="osx/yes.html">yes</a> Print a string until interrupted
<a href="osx/zip.html">zip</a> Package and compress (archive) files.
<a href="osx/bang.html">!!</a> Run the last command again</pre>
<p>Commands marked • are bash <i>built-in</i> commands.
bash is the default shell, it runs under <a href="https://en.wikipedia.org/wiki/Darwin_%28operating_system%29">Darwin</a> the open source core of OS X.<br>
<br>
<a href="http://developer.apple.com/documentation/Darwin/Reference/ManPages/index.html">OS X Man Pages</a> - Apple Developer Connection<br>
<a href="https://ss64.org/viewforum.php?id=10">Discussion forum</a><br>
Links to <a href="links/osx.html">other Sites, Books etc</a>...</p>
<p class="quote"><i>“Mac OS X is a rock-solid system that's beautifully designed. I much prefer it to Linux” - <a href="http://www.wired.com/wired/archive/11.12/billjoy.html">Bill Joy</a></i></p></body>
</html>