Skip to content
dhruv's wiki
AWK Remove duplicates lines from a file
Initializing search
dhruv's wiki
dhruv's wiki
On My Mind
Wiki Journal
Books
Books
Book Tracker
The Mediocre Programmer
Books
Siddhartha: A Novel
Surely You'Re Joking, Mr. Feynman
The Almanack of Naval Ravikant
The Book Of Life: Daily Meditations With Krishnamurti
What Do You Care What Other People Think?
Courses
Courses
Courses
Cs
Cs
CS
Teach Yourself Computer Science
Computer networking
Cs basics
Cs books
Cs courses
Cs stories
Cs wiki
History of computing
Leetcode
Roadmap
Wiki
Knowledge management
Knowledge management
Knowledge Management
Knowledge base
Memory
Life hacking
Life hacking
Life Hacking
Planning
Other
Other
Random
JIRA Utilities
Other
Coffee
Inspirations
Other courses
Writing
Podcasts
Podcasts
The tim ferriss show
Programming
Programming
Programming
Aws
Devops
Docker
Exercism
Go
Interviewing
Java
Lua
Miscellaneous
Python
Regex
Scala
Software engineering
Tech leadership
Web
Tools
Tools
Tools
Mac
Other
Programming
Programming
Programming Tools
Curl
Git
Intellij
Jq
Latex tools
Markdown tools
Tmux
Treesitter
Unix
Unix
Terminal, Console, and Shell
Unix Pipes
Unix
Bash
Commands
Commands
Date
find
Get around xargs' lack of -d on macos
sed
Unix Commands
xargs Basic Usage
xargs
Awk
Awk
AWK Remove duplicates lines from a file
Split String and Get Nth
awk
Cat
Crontab
Grep
Unix wiki
Utilities
Zsh
Vim
Vscode
Typing
Typing
Typing
AWK Remove duplicates lines from a file
¶
awk
'!seen[$0]++'
filename