Pario TechnoBlob
About Posts

Tag: sort

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]...
Feb 25, 2008 8:49AM
Allow NFS through iptables This is one way to determine the ports needed to open in your iptables rules to get NFS to work properly. First we need to determine the ports NFS uses rpcinfo -p | awk -F...
Dec 20, 2007 10:50AM
Query RPM database/packages and list their architecture If you use the –queryformat argument with rpm it is possible to query RPMs for different architectures installed# rpm -qa --queryformat %{NAME}-%{VERSION}-%{ARCH}\n | grep...
Nov 26, 2007 2:07PM
Sort IP address Sorting IP addresses using sort is not easy because the dot confuses sort. This line makes it possible to sort by the whole value of the address sort -n -t . -k 1,1 -k 2,2 -k...
Nov 12, 2007 10:56AM
«« « 1 2 3 » »»
Posts About
© 2007-2020 Pario TechnoBlob
Powered by Axiom