Quantcast
Channel: IT-Linux
Viewing all articles
Browse latest Browse all 171

Unix / Linux: Remove duplicate lines from a text file using awk or perl

$
0
0

I have a text file with exact duplicates of lines. I need to remove all those duplicates lines and preserves the order too on Linux or Unix-like system. How do I delete duplicate lines from a text file? You can use Perl or awk or Python to delete all duplicate lines from a text file […]


Viewing all articles
Browse latest Browse all 171

Trending Articles