Computer scienceSystem administration and DevOpsCommand lineText processing

Sorting and deduplication

Display the duplicates

Report a typo

Display all the duplicates from the /tmp/test.txt file. Please, do not forget to sort the lines first!

Sample Input 1:

stream
data
computer
stream

Sample Output 1:

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

}
___

Create a free account to access the full topic