1 Answer
Try using the below command
awk '!seen[$0]++' new.txt
Your Answer
Try using the below command
awk '!seen[$0]++' new.txt