-1

How to display all the lines which ends with the word unix in any given file and sorts those lines in ascending order.

muru
  • 207,228
Jaimin
  • 141

1 Answers1

3

Your command should be :

grep 'unix$' your_file | sort

Of course you shoud replace your_file with the file you want to sort.

storm
  • 5,013