Pario TechnoBlob
About
Posts
Tag: nl
My 10 most used linux commands
This is a oneliner bash command to determine my 10 most used linux commands according to my history file history | awk '{CMD[$2]++;count++;}END { for (a in CMD)print CMD[a]...
Using nl to number lines
(basic use) % nl filename (Include empty lines) % nl -ba filename (Left justified number column) % nl -nln filename