30th Apr, 2009

Linux bash: how to sort a file

1 Star2 Stars3 Stars4 Stars5 Stars (Nessun voto)
Loading ... Loading ...

I just discovered that there is already one sort command in the linux bash! :D

Simply use the following code to sort your dict.txt file and output the result to mydict.txt:

sort dict.txt > mydict.txt





Leave a response

Your response:

Categories