Skip to content
  • View menu
  • View sidebar

bioinfo core

Index & solution of bioInfo utilities

  • Home
  • All entries
  • Blogs
  • Contact
  • About

Categories

  • Between languages (7)
  • Blogs (8)
  • Python (35)
  • R (1)
  • Unix (37)

Tags

bedfile Blogs conda Excel html numpy Pandas Python R slurm Unix
05/05/202010/21/2021 by bioinfocore

Unix remove repeated rows

  • Unix
  • Unix

One simple line to remove repeated rows from a txt file:

awk '!seen[$0]++' fileIn.txt > fileOut.txt

Post navigation

← Previous Post Unix regex grep extract substring
Next Post → Python run loops in parallel
Copyright 2024 | by bioinfocore