sort foo.txt | uniq -d
In reply to Re^4: Find duplicate lines from the file and write it into new file.
by davidrw
in thread Find duplicate lines from the file and write it into new file.
by anna_here
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |