by yen223 · 2y ago · 0 comments
Some commands I use often:
- `pbcopy` and `pbpaste` to copy and paste data via the clipboard
- `date -u` to give the date in UTC
- `networkQuality` is speedtest but built-in to macOS
- `caffeinate` prevents your computer from going to sleep (it's the same as the old Caffeinate program, but built-in now)
- `open ...` to open a file, as if you double-clicked it in Finder
- `security` gives you command-line access to the Keychain.
TIL there is a built in utility. I switched from Caffeinate to Amphetamine a while back and never bothered to look for a built-in solution. Great to know!
https://keepingyouawake.app/ I use this for a "GUI" version
TZ=UTC date
thank you for "security" (lots to read now)