Last active
April 30, 2022 00:15
-
-
Save espio999/7a69426507f99920d26dcd41b080a30c to your computer and use it in GitHub Desktop.
42 SILICON VALLEY Piscine 2017 Day01 Exercise 07
This file contains 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
cat /etc/passwd | cut -d ":" -f 1,2,3,4,6,7 | sed -n 2~2p | cut -d":" -f 1 | rev | sort -r | tr [:cntrl:] "," | sed 's/,/, /g' | rev | cut -c 3- | sed 's/^/./' | rev | tr -d [:cntrl:] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment