main_service

gcore
get core images of running processes
gcore: task_read_for_pid: (null)

man ipcs
iperf3-darwin – perform network throughput tests

ippfind - find internet printing protocol printers

look – display lines beginning with a given string

lsbom – list contents of a bom file
bom – bill of materials

lskq – display process kqueue state
lsmp – Display mach port information for processes on the system

lsm - Latent Semantic Mapping tool
LatentSemanticMapping.framework

mg – emacs-like text editor

man nano
pico - simple text editor in the style of the Alpine Composer

nettop – Display updated information about the network
networkQuality – Network quality testing tool

nscurl -> CFNetwork
what which nscurl

opendiff – Use FileMerge to graphically compare or merge file or
directories

osacompile – compile AppleScripts and other OSA language scripts

1
2
3
4
osalang
# AppleScript
# JavaScript
# Generic Scripting System

pathchk – check pathnames
pbcopy, pbpaste - provide copying and pasting to the pasteboard (the
Clipboard) from command line

pmset – manipulate power management settings

printenv – print out the environment

1
2
printenv HOME
echo $HOME

psm – Command line interface to Apple Silicon password slot manager
pstopdf – convert PostScript input into a PDF document
qlmanage – Quick Look Server debug and management tool

1
qlmanage -m

rpcgen – Remote Procedure Call (RPC) protocol compiler
rs – reshape a data array

1
2
3
4
5
6
jot -r 100 | rs 10 10 | tee array | rs -T > tarray
# jot -> seq
# tee
# rs -T
seq 4 | rs -T
seq -s '\t' -t '\n' 4

rwsnoop - snoop read/write events. Uses DTrace.

1
2
3
4
5
ls /usr/bin | grep snoop
# execsnoop
# iosnoop
# opensnoop
# rwsnoop

safaridriver – Safari WebDriver REST API service
The safaridriver utility is used to launch an HTTP server that implements
the Selenium WebDriver REST API
sandbox-exec – execute within a sandbox (DEPRECATED)
say - Convert text to audible speech
script – make typescript of terminal session [type or print]
shar – create a shell archive of files
shasum - Print or Check SHA Checksums [shasum is implemented using the Perl module Digest::SHA.]
shlock – create or verify a lock file for shell scripts
[NOTE: The shlock command is deprecated, and lockf(1) should be used instead.]
The lockf(), fcntl(2), and flock(2) locks are compatible.
shortcuts – Command-line utility for running shortcuts
sips – scriptable image processing system
size - print the size of the sections in an object file
smbutil – interface to the SMB requester
sourcekit-lsp - Language Server Protocol implementation for Swift and C-based
languages

sw_vers – print macOS version information
swcd – Shared Web Credentials Daemon
swcutil [https://developer.apple.com/documentation/security/shared_web_credentials]

1
ls /usr/bin/ | grep '\.d'

taskinfo – display policy information from kernel

1
2
sudo taskinfo Fork
sudo taskinfo Fork --threads

textutil – text utility
textutil can be used to manipulate text files of various formats, using
the mechanisms provided by the Cocoa text system.
tidy - check, correct, and pretty-print HTML(5) files [https://github.com/htacg/tidy-html5/]
timerfires – analyze timers as they fire [DTrace]
tmutil – Time Machine utility
tops - perform in-place substitutions on code
tsort – topological sort of a directed graph
uname – display information about the system
unifdef, unifdefall – remove preprocessor conditionals from code
units – conversion program
uptime – show how long system has been running
users – list current users
uttype - Information about Uniform Type Identifiers

1
2
3
uttype --all
uttype --all | grep com.apple.iphone
uttype --all | grep com.apple.mac

uucp - Unix to Unix copy
uuidgen – generates new UUID strings
wdutil – Wireless Diagnostics command line utility
xar - eXtensible ARchiver
DEPRECATION WARNING
xar is no longer under active development by Apple. Clients of xar
should pursue alternative archive formats.

xcdebug – Start a debugging session in Xcode.
xcode-select - Manages the active developer directory for Xcode and BSD
tools
xctrace – Record, import, export and symbolicate Instruments .trace
files.
xed – Xcode text editor invocation tool
xcrun - Run or locate development tools and properties.
xip – Create or expand a secure archive for secure distribution.
xpath - a script to query XPath statements in XML documents.[Perl]
xxd - make a hexdump or do the reverse
zprint – show information about kernel zones

realpath – return resolved physical path