Created
January 17, 2018 10:50
-
-
Save lukexie/f18fb7664cdf01a07c3f983a7c6b96dc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -k3n 第3欄 -t: delimiter ':' | |
sort -k3n -t: /etc/passwd | |
# 以 uniq -d 找出重覆 | |
sort /etc/passwd | cut -f1 -d: | uniq -d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment