Save your own bash history permanently?
Lets say I wanted to save my bash history permanently. I.e., so I could look in a log somewhere and find some command I used 6 months ago, like the one I used to get my printer drivers installed.
This only would be the history for my own user (not all users). |
Try putting something like this in your ~/.bashrc file:
Code:
date >> ~/bash_historie |
All times are GMT -5. The time now is 05:48 PM. |