When is the time to create an alias for the most used commands?
The
Here is a good way to run some stats:
$ history | awk '{print $2}' | awk 'BEGIN {FS="|"} {print $1}'| sort | uniq -c | sort -r
What do you think?
alias command allows you to create your own names or abbreviations for commands by performing string substitution on the command line according to your specifications. But how do you identify the commands you're using very often? Statistics! Well, sort of ;)Here is a good way to run some stats:
$ history | awk '{print $2}' | awk 'BEGIN {FS="|"} {print $1}'| sort | uniq -c | sort -r
What do you think?
