Linux Sort anything by any column


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  1. sort -k3n,3 data.file
  2.  
  3. or
  4.  
  5. sort -b -k3n,3 data.file

URL: http://www.unix.com/unix-dummies-questions-answers/30450-sort-third-column-n-command.html

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.