12/16/2017 - 8:23 PM

Terminal Tricks

# list the updates
Softwareupdate -l
# Install a specific update by name, note the space after the hyphen is needed
sudo softwareupdate -i "macOS Mojave 10.14.6 Supplemental Update 2- "
# -L is to follow redirects
curl -L 'https://google.com'

# -o option will download the information to the next argument which is the filename
curl -o google.html -L 'https://google.com'

# windows start command 
start chrome 'webpage.html'

# List installed packages
# Preferences -> Package Control -> List Packages