Txt

Byte sized tech know-how.

  • Home
  • About

Tag Archives: uniq

21 May

Find Duplicate Lines

Sort contents of two files by viewing only duplicate line


sort file1 file2 | uniq -d
admin Posted in Command Line, Linux command, duplicate, line, Linux, sort, uniq 1 Comment
11 May

Sort and Unique

Sort contents of a file and remove repeated lines


sort file.txt | uniq
admin Posted in Command Line, Linux command, file, line, Linux, sort, uniq, unique 1 Comment

Post navigation

Categories

  • Code
  • Command Line
  • Configuration
  • CSS
  • HTML
  • internet
  • JavaScript
  • Linux
  • Mobile
  • Perl
  • PHP
  • Python
  • Ruby
  • Uncategorized

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Fruitful theme by fruitfulcode Powered by: WordPress
↑