Practice this fail.
Ten comes before two?
Linux · Restart as often as you like
Read the error, choose a command, and learn
why it works. Nothing runs on your machine.
numbers.txt contains one decimal integer per line. Using GNU sort, sort by numeric value in ascending order.
Ten comes before two?
$ sort numbers.txt
1 10 2
How do you request numeric ordering?
Fixed. By hand.
sort -n numbers.txtsort -n compares numeric values rather than their textual ordering. Plain lexical ordering places 10 before 2 because it compares characters.
Practice does not affect your daily score or streak.