Created
December 3, 2017 05:19
-
-
Save valsaven/2c611d52fe1c5435bd3f03fc80054fdb to your computer and use it in GitHub Desktop.
Bash Scripts
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
head -10 logins.txt | |
sed -n 1,10p /etc/group | |
awk 'FNR <= 10' /etc/passwd | |
perl -ne'1..10 and print' /etc/passwd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment