27
Feb

Shell Bash History

Every want to recall something you did / wrote in your terminal months ago. I have configured a few servers in my day and through the that time I try to be good and document my steps but every now and again I go off on a testing spree and try a few things, get something working and shift focus and forget about documenting what made it work.

I didnt realize until only recently that everything you type into you terminal window gets logged. So if you ever want to recall your previous bash scripts open your terminal and simply type

history

Which will return the log dump of your bash history, every command you have ever typed. Great if you cant remember exactly which vnc server you installed last year to get a headless server running flex unit or whatever may have slipped your mind. Test

There's 0 Comment So Far

Share your thoughts, leave a comment!