How can we sort the bottom three lines of friends.txt
in alphabetical order with a single command line?
Unbelievable! We use tail -3
to display the bottom three lines of the text file and use the pipe to redirect the output to sort
.
Dang! We use tail -3
to display the bottom three lines of the text file and use the pipe to redirect the output to sort
.