Organizing Lists with the sort Command
sort helps you organize file lists and program
output. And if you like, you can even use this small
but powerful tool to merge and sort multiple files.
The sort command allows you to
sort a file line by line. The command
can either process a specified
file or read from standard input. You
decide the sort criteria – sort has parameters
that give you granular control.
Simple Sorting Exercises
/etc/passwd is an excellent place to start
experimenting with sort. If you look
inside the file, you will see that the lines
comprise a number of fields, for example:
Buy this article as PDF
New release targets Linux professionals.
The Fedora project adds Wayland and Gnome 3.22
CeBIT 2017: Open Source Forum Call for Papers
Long-time Linux antagonist joins the revolution.
Major bug affects Debian/Ubuntu distributions.
Canonical releases the minimal edition for embedded devices, Internet of Things, and cloud deployments.
The new release features improvements across the board, from performance to security.
Two out of three of the new members are women.
More than 5,000 people attended the event.
Linux Magazine will include the best of both magazines.