How can I see, for example, what are my most used commands in the last 6 months in bash? Can I store this data somewhere?
history|awk '{print $2}'|awk 'BEGIN {FS="|"} {print $1}'|sort|uniq -c|sort -rn|head -30
From a thread on the Arch Linux boards
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With