Created
May 27, 2020 23:37
-
-
Save nosrednawall/c0bd616cd5e6390397bdad2844fbed1d to your computer and use it in GitHub Desktop.
listar usuários ativos linux
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
#!/bin/bash | |
awk -F";" '{for(i=1;i<=NF;i++){if ($i !~ /false/){print $1}}}' /etc/passwd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment