4000 Linux commands every programmer should know A thread 🧵
Get all command names 1 ls -l /{bin,sbin}/ /usr/local/{bin,sbin} | wc -l 2 ls -l /{bin,sbin}/ /usr/local/{bin,sbin} | more
@nixcraft it's not realy a command but ctrl+r for bash history will change your life forever.
@nixcraft Started having a panic attack at the thought of you going through with it and me having to read it all. You, man, `is crazy. 💀
@nixcraft man *tab tab
@nixcraft Get the most used 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 superuser.com/questions/2502…
@nixcraft 4k? really? I'm a dev and a sysadmin and I only use probably <50 different commands. Why 4k...?
@nixcraft history To list all of the last commands that have been used recently