Create history log per working directory in bash
13
votes
4
answers
6140
views
I was wondering if it is possible to keep a file containing history per current working directory. So for example if I was working in
/user/temp/1/
and typed a few commands, these commands would be saved in /user/temp/1/.his
or something. I am using bash.
Asked by tafelplankje
(323 rep)
Aug 24, 2016, 06:37 PM
Last activity: May 14, 2025, 02:33 PM
Last activity: May 14, 2025, 02:33 PM