A
A
Artix882022-01-03 12:23:59
Text Processing Automation
Artix88, 2022-01-03 12:23:59

How to find duplicate lines in a text file with 10,000 lines?

10,000 lines of the form:

192.168.0.1
192.168.1.2

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
ab1, 2022-01-03
@ab1

Try
sort ./file_name.txt | uniq -c

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question