1

Command sort or uniq

Which is the word of more than four (04) most used characters in the file , using the command sort or uniq

Basic Commands Add a comment
FerTah
asked Apr 10 2019

Answer

1

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

Add a comment
linuxhelp
asked Aug 19 2019
Post your Answer