Which of the following command is the best to get a list of users who are in the
ID: 3544773 • Letter: W
Question
Which of the following command is the best to get a list of users who are in the group "students"? Question options: grep ^students /etc/group grep students /etc/passwd grep ^students /etc/passwdAlso, Which kind of information is NOT included in the /etc/passwd file? Question options:
Login shell User home directory Encrypted password Which of the following command is the best to get a list of users who are in the group "students"? Which of the following command is the best to get a list of users who are in the group "students"? grep ^students /etc/group grep students /etc/passwd grep ^students /etc/passwd
grep ^students /etc/group grep students /etc/passwd grep ^students /etc/passwd
Also, Which kind of information is NOT included in the /etc/passwd file? Question options:
Login shell User home directory Encrypted password Which kind of information is NOT included in the /etc/passwd file? Which kind of information is NOT included in the /etc/passwd file?
Login shell User home directory Encrypted password Login shell User home directory Encrypted password grep ^students /etc/group grep students /etc/passwd grep ^students /etc/passwd
Explanation / Answer
"grep ^students /etc/group" command is the best to get a list of users who are in the group "students"
""Encrypted password"" is NOT included in the /etc/passwd file
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.