In my user home dir, there are numerous .history. files and new ones are popping up. Is this normal?
… numerous .history. files and new ones are popping up. Is this normal?
root@mowa219-gjp4-8570p-freebsd:~ # ls -hl /usr/home/grahamperrin/.histor*
-rw------- 1 grahamperrin grahamperrin 67K Aug 22 04:37 /usr/home/grahamperrin/.history
root@mowa219-gjp4-8570p-freebsd:~ # ls -hl /usr/home/bbsadmin/.histor*
ls: No match.
root@mowa219-gjp4-8570p-freebsd:~ # ls -hl /root/.histor*
-rw------- 1 root wheel 73K Aug 22 09:48 /root/.history
-rw------- 1 root wheel 37B Jan 2 2021 /root/.history.16593052
-rw------- 1 root wheel 656B Feb 11 2021 /root/.history.3126201
root@mowa219-gjp4-8570p-freebsd:~ #
… I'm not sure what causes the dregs …
… when I open an Xfce4 Terminal window the history for that goes into a new file. …
when there are 2 or more terminals running, history command outputs differ, so each instance of terminal
seemingly has its own storage
… have tcsh put the history into a single file? …
exit
or key Control-D. % echo $0
/bin/tcsh
% ls -hl ~/.history*
-rw------- 1 grahamperrin grahamperrin 69K 4 Apr 12:46 /home/grahamperrin/.history
-rw------- 1 grahamperrin grahamperrin 0B 29 Nov 07:37 /home/grahamperrin/.history.10857158
%
I need to take back what I said. It did work, I just had history files from before still.Take care toexit
or key Control-D.
(Don't simply close terminal tabs/windows, if the terminal application does not do what's required when closing.)
I have just one stray file, which might have been from a crash a few months ago:
Code:% echo $0 /bin/tcsh % ls -hl ~/.history* -rw------- 1 grahamperrin grahamperrin 69K 4 Apr 12:46 /home/grahamperrin/.history -rw------- 1 grahamperrin grahamperrin 0B 29 Nov 07:37 /home/grahamperrin/.history.10857158 %