Imagem de fundo

No Linux CentOS 7 ou SUSE Linux Enterprise Server 15, qual dos seguintes comandos retor...

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?

A

cat etc/passwd | grep “bash”

B

cat etc/passwd | grep “login”

C

cat etc/passwd | grep “/bin/bash” | cut -f1

D

cat etc/passwd | grep “/bin/bash” | cut -d: -f1-2

E

cat etc/passwd | grep “/bin/bash” | sed -e 's/:.*//g'