Skip to content


Sudo w/ Touch ID

Add the following to /etc/pam.d/sudo

auth       sufficient

Problems with Sed

If you're getting problems using sed -i that is because macOS/OSX version of sed expects an argument after -i, the suffix to use for the backup files. This is not the same with GNU sed.

sed: 1: "./.DS_Store": invalid command code .

So to work around this do -i "" or -i .bak.


Show hidden files - Command + Shift + . (period)