Main Menu
Home
Kubernetes
Kubernetes How To Articles
Kubernetes Security
Kubernetes Config related Articles
Kubernetes Troubleshooting
Kubernetes Backup and Restore related Articles
Kubectl Commands
Kubeadm Commands & related Articles
CoreDNS related Articles
Kubernetes cluster related Articles
ETCDCTL Commands
Containerization Stack (DevOps)
CRI-O Runtime Articles
CRI-O How to Articles
CRI-O crictl commands
CRI-O Container Troubleshooting
Podman Container related Articles
Oracle Cloud Native Environment (OCNE)
OCNE Installation and Configuration related Articles
OCNE Backup and Restore Articles
OCNE How To Procedure Articles
OCNE Kubernetes related Articles
OCNE Commands Articles
OCNE Scripts Articles
Linux
Linux "FIND" Command related Articles
Linux "YUM" 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
GitHub Repositories (tarbots)
About tarbots
Search
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment