We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04df779 commit e52bf4aCopy full SHA for e52bf4a
1 file changed
OS.sh
@@ -0,0 +1,10 @@
1
+#!/bin/bash
2
+
3
+INPUT="password"
4
5
+while IFS=: read -r user pass uid gid info home shell
6
+do
7
+ if [[ "$shell" == "/bin/bash" ]]; then
8
+ echo "$user"
9
+ fi
10
+done < "$INPUT"
0 commit comments