Grepping my history of commands has been very helpful to me with my Linux
learning process, so I want to take the help one stage further to keep track
of all command history.

Before I embark on a mission to teach myself enough Perl to do the job. Is
there already a utility which will let me.

capture the output of my history to a sorted text file which contains no
duplicate lines.

I can get the sorted file easy enough with
  history | sort > sortedhistory.txt
and regularly updated it with
 history | sort >> sortedhistory.txt

So the main problem is getting the duplicates out of the sortedhistory.txt
file.  What do you reckon, a good job for a Perl program ?



-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to