|
|
|
|
|
by ojjzhna
3675 days ago
|
|
I have bash script in my bash_profile to support separate history files named with tty, month and year (so separate files for each tty). It looks for recent history files for the given tty and reloads old history on first startup. Have cron job to signal bash session to flush history with command timestamps/dates to disk daily. Handy for recalling commands/command switches you ran months ago. |
|