Computer scienceSystem administration and DevOpsCommand lineText processing

Sorting and deduplication

Sort the numbers

Report a typo

Sort the lines from the /tmp/test.txt file by numerical values in descending order and print them on the screen.

Sample Input 1:

300
4
15
23

Sample Output 1:

300
23
15
4
Write a program in Shell
#!/usr/bin/env bash
solve() {
# add your solution here

}
___

Create a free account to access the full topic