Skip to content
zero2vibecodelearn vibe coding

What sort | uniq does

Sort the lines and drop the repeats.

sortnames.txt|uniq
  • sortcommand — sort lines
  • names.txtargument: a file, a folder, or text
  • |pipe: the previous command's output becomes the next one's input
  • uniqcommand — drop repeated neighboring lines

Explain other commands