≡ Menu

Sort Command Examples

How to Sort Files in Linux using Sort Command

Sort command is helpful to sort/order lines in text files. You can sort the data in text file and display the output on the screen, or redirect it to a file. Based on your requirement, sort provides several command line options for sorting data in a text file. Sort Command Syntax: $ sort [-options] For [...]

{ 27 comments }