BradChoate.com is a blog on hardware and software products
Title
Brad Choate
Description
And you would also create a ~/.history directory to hold your history files. This will create one file per day of all your bash sessions.
If you prefer to keep one per week, use this assignment instead (files are named as year-week.hist using Monday as the first day of the week. If you prefer to start your week of history on Sunday, use ‘%U’ instead of ‘%W’ below):
So there you go— note that if you have a session that spans two days, the history will continue to be logged to the original date of the bash session. This is convenient, since it insures that a session is never split up between two history files.
Languages
English
Address
- 5 Mountain Orchard Rd
- Bethel CT 06801 US
Additional Information
Related Domains
External Links
- Alexa: BradChoate.com