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

Surprised to see such heavy reliance on shell history. I view shell history as a liability. Too much chance of capturing passwords or other secrets and shell history files are the first place an intruder will look for those.

My shell history has a limit of 25 commands and is not saved after logout. I very rarely find that to be too short. In almost every case, if I want to repeat a command it's either the previous one or no more than a few prior than that.

Anything I need to do repeatedly I put in an alias or script or function.



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

Search: