1 Answer
Use the following command uniq -D -w 4 test.txt | wc -L -m To check the repated words
D > print all duplicate lines
w > Word count more than 4
L > prints the length of longest line
m > prints the character count
Your Answer