Sort is a Linux program used for printing lines of input text files and concatenation of all files in sorted order. Sort command takes blank space as field separator and entire Input file as sort key. It is important to notice that sort command don’t actually sort the files but only print the sorted output, until your redirect the output.
This article aims at deep insight of Linux ‘sort‘ command with 14 useful practical examples that will show you how to use sort command in Linux.
Full articles from Tecmint here:
14 Useful Examples of Linux ‘sort’ Command – Part 1
7 Interesting Linux ‘sort’ Command Examples – Part 2
A Linux Foundation Certified System Administrator (LFCS) has the expertise to do basic to intermediate system administration from the command-line for systems running Linux. Linux Foundation Certified System Administrators are knowledgeable in the operational support of Linux systems and services. They are responsible for first line troubleshooting and analysis, and choose when to raise issues to engineering teams.
The series will be titled Preparation for the LFCS (Linux Foundation Certified Sysadmin) Parts 1 through 10 and cover the following topics for Ubuntu, CentOS, and openSUSE:
Part 1: How to use GNU ‘sed’ Command to Create, Edit, and Manipulate files in Linux
Note: This article also touches on the use of several other commands used for processing text streams in Linux, such as uniq, sort, grep, tr, and cut.
Full article here:
LFCS: How to use GNU ‘sed’ Command to Create, Edit, and Manipulate files in Linux – Part 1 (Tecmint)