Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

linux history unique commands

cat .bash_history | uniq > /tmp/histbak; mv /tmp/histbak .bash_history
 
PREVIOUS NEXT
Tagged: #linux #history #unique #commands
ADD COMMENT
Topic
Name
7+5 =