Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This inspired me to (quickly) write down my own Stupid Bash Tricks: https://gist.io/@tsutsu/2c11fc0a36000a46566e9fd62c60dea4

Most of it might be somewhat obvious; but scroll down to "Bash Hooks" for a cool trick I've never seen anywhere else.



I found the OSX specific XDG section helpful, because I've been setting it to ~/.cache for years! Good to know there is a better way that the OS understands (a bit a least).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: