Quali sono i comandi bash che usate di piu'?

Prendendo spunto da alcuni post apparsi sulla versione inglese di Planet Ubuntu, ho deciso di provare questo comando:

1
history | awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}' | sort -rn | head

che dovrebbe stampare la lista dei comandi piu’ digitati nella bash della vostra macchina Linux. Il risultato è stato il seguente:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
history | awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}' | sort -rn | head 
4884 git
1023 eval
382 isort
381 docker-compose
379 nox
318 cd
305 ls
228 docker
224 pip
151 workon

interessante, non trovate?!

If you enjoyed this article and want to show your appreciation, consider buying me a coffee using the button below. Your support, even a small gesture, means a lot and will inspire me to continue writing and sharing more articles on my blog ❤️

Buy Me a Coffee at ko-fi.com
source code available on GitHub
Built with Hugo
Theme Stack designed by Jimmy