Tagged: linux

Unix 0

Remove duplicate lines from file using awk

We mostly have the requirement to remove duplicate lines from file, support guys know the pain well Lets look at the quickest solution to achieve this. Requirement:   Solution : awk ‘!x[$0]++’ file1.txt Explanation...