bash:
history | awk '{print $2}' | sort | uniq -c | sort -rn | head
zsh:
history -1000 | awk '{print $2}' | sort | uniq -c | sort -rn | head
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)
You need to create an account or log in to post comments to this site.
» Bash function to copy SSH DS... in ssh shell zsh bash
» Terminal window commands in shell osx mac bash unix osascript text window terminal color title bar escape sequence background
» Terminal window commands in shell osx mac bash unix code osascript text window terminal color title bar escape background ansi
» Testing Terminal RGB color c... in shell osx mac bash unix applescript osascript window terminal color rgb combination
» Testing Terminal RGB color c... in shell osx mac bash unix applescript osascript window terminal color rgb combination
» Testing Terminal RGB color c... in shell osx mac bash unix applescript osascript window terminal color rgb combination
Snippets (source code soon to be available) developed by Peter Cooper and powered by Ruby On Rails