HISTORY Commands Cheat Sheet

Here is a cli commands cheat sheet for HISTORY command, you can use this as a quick reminder for basic commands with a brief description for each of the commands.

What is HISTORY command?

Add some data here

        # To see most used top 10 commands:
history | awk '{CMD[$2]++;count++;}END { for (a in CMD)print CMD[a] " " CMD[a]/count*100 "% " a;}' | grep -v "./" | column -c3 -s " " -t | sort -nr | nl | head -n10
    

Check out the HISTORY command documentation .


You can also check our MegaSh cheatsheet tool, that has 150+ searchable linux cheat sheets in one page, so you never forget a command as you work again

Check Also

Best AI tools list