• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 414
  • Last Modified:

Identify common command line commands w/ .bash_history

I'd like to optimize my workflow by creating aliases for common commands. I'm looking for a way to somehow parse my .bash_history file and sort my commands by frequency. Any suggestions?

Thanks,
Zumpoof
0
zumpoof
Asked:
zumpoof
1 Solution
 
ozoCommented:
sort ~/.bash_history | uniq -c | sort -n
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now