Created
February 22, 2012 15:52
-
-
Save kdabir/1885655 to your computer and use it in GitHub Desktop.
Extract unique commands and store them #shell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
## extract uniq commands and store them | |
sort .bash_history uniqhistory.txt | uniq > uniqhistory.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment