Advertisement
LazySenpai

SO cw1

Nov 13th, 2019
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.11 KB | None | 0 0
  1. for i in  `grep bash /etc/passwd | cut -f 1 -d ':'`
  2. do
  3.     u=`id $i | cut -f 1 -d '('`
  4.     echo "$i $u"
  5. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement