tarbots
Kubernetes
(Move to ...)
Kubernetes How To Docs
Kubectl Commands
▼
Containers
(Move to ...)
OVS How To Articles
OVS related Shell Scripts
▼
Podman
(Move to ...)
OVM Corruption related Articles
OVM Database related Articles
OVM How To Articles
▼
Linux
(Move to ...)
Linux "YUM" related Articles
Linux "FIND" Command related Articles
Linux "PS" Command related Articles
"AWK" Command related Articles
Linux "RPM" Command related Articles
"PING" Command related Articles
"NTP" related Articles
Linux Network related Articles and Commands
Linux Security related Articles
Linux Troubleshooting Articles
Linux FILESYSTEM related Articles
Linux INFINIBAND Network related Articles
Linux "MOUNT" Command related Articles
Linux Shell Script Articles
"BIOS" related Linux Articles
"NFS" related Articles
"GREP" Commands related Articles
Linux "CPU" & "Memory" related Articles
"SED" Command related Articles
"SYSTEMCTL" Commands related Articles
Logical Volumes related Articles
"TCPDUMPS" related Articles
▼
CRI-O
(Move to ...)
Exalogic Virtual OVS (Dom0 Oracle Virtual Server / Compute Node) related Articles
Exalogic Infiniband Network / IB Switches related Articles
Exalogic ZFS Storage Appliance related Articles
Exalogic Hardware related Articles
Exalogic How To Articles
▼
LINUX: Sort Command To Sort Output On Specific Column in Descending Order (How To)
For e.g. if you want to sort output from a file in descending order on specific column, in this e.g. lets assume column 5, below command can be used.
cat filename | awk {'print $5'} | sort -n
Replace 5 in above command with whatever column name you want to sort.
Products to which Article Applies
All Linux/UNIX Operating Systems
Article Author:
Tarun Boyella
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment