Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Shell/Bash
grep ignore repeated lines
ram
Programming language:
Shell/Bash
2021-06-10 08:16:21
0
Q:
grep ignore repeated lines
madan
Code:
Shell/Bash
2021-02-26 05:54:42
Just comgine "sort -u" with grep command to ignore repeated lines: grep file_name | sort -u
0
Tags
line
Related
grep line after match
grep all lines after first match
bash remove duplicate lines from a file
grep only third match
grep third line after match
grep all except last
grep 10 line before
grep remove duplicates
grep count lines
bash count duplicate lines in a file
New to Communities?
Join the community