On the command line we have a number of powerful tools available to us. I’m going to cover some text sorting methods here.
I have a file called ‘testfile’ within this file is the following:
test:~# cat testfile
line1
line3
abcdefg
test
line9
this is a test
test file
test
(more…)