Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Evil things to do in a .bashrc file (unprovable.github.io)
5 points by chunkyslink on July 19, 2017 | hide | past | favorite | 4 comments


... on a Linux box. My FreeBSD and MacOS boxes don't know "sort -R".

I'm really here to say that adding "exit" in a .bashrc is fun one to try to resolve.


If you're running FreeBSD 10.0 or newer, it knows "sort -R".


FreeBSD 8.2-STABLE, released 2011. It's my web hosting machine. I don't manage it. Thanks for pointing that out!


I enjoy how JavaScript is used to change anything copied off the page (with included new line).




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: