No Linux CentOS 7 ou SUSE Linux Enterprise Server 15, qual dos seguintes comandos retornaria em tela somente os usuários que possuem acesso ao shell do sistema, sem as demais informações?
cat etc/passwd | grep “bash”
cat etc/passwd | grep “login”
cat etc/passwd | grep “/bin/bash” | cut -f1
cat etc/passwd | grep “/bin/bash” | cut -d: -f1-2
cat etc/passwd | grep “/bin/bash” | sed -e 's/:.*//g'