how can I list the identical words from below file using shell script ?
list.txt
LT
R
LT
MRTD
LT
MK
RR
RR
example result :
LT
R
MRTD
MK
RR
how can I list the identical words from below file using shell script ?
list.txt
LT
R
LT
MRTD
LT
MK
RR
RR
example result :
LT
R
MRTD
MK
RR