scripts_grundkurs/Labb8/listbashusers.awk

3 lines
94 B
Awk

BEGIN { FS=":"; OFS="\n"; print "The following users uses Bash" }
/\/bin\/bash/ { print $1 }