News for hackers. Stuff that matters.
Re:Unix Tricks by Flenser on Friday July 04, 2014 @04:28AM (#7987857)

   history -a  # append history lines from this session to the history file.
   
   #History file may contain history from other terminals not in this one so:

   history -c # clear [in-memory] history list deleting all of the entries.
   history -r # read the history file and append the contents to the history list instead.
I've heard that -n can be problematic which is why -c then -r is used.

There are no comments on this comment yet.