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

I'm with you, I've had

    export HISTFILE=/dev/null
in my .bashrc for 20 years. I just don't see the appeal of persistent history. And I've seen too many intrusion pastes where passwords and databases are pulled out of the bash history file.


In a work environment with many complex shell commands to perform daily tasks shell history is the most efficient way to repeat tasks with complex command lines performed weeks/months ago. Documentation, wikis etc are always slightly lacking/stale and are less effective than simply seeing how you did it last.




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

Search: