Which of the following commands prints a list of usernames (first column) and their primary group (fourth column) from the /etc/passwd file?

Which of the following commands prints a list of usernames (first column) and their primary group (fourth column) from the /etc/passwd file?
A . fmt -f 1,4 /etc/passwd
B . split -c 1,4 /etc/passwd
C . cut -d : -f 1,4 /etc/passwd
D . paste -f 1,4 /etc/passwd

Answer: C

Latest LFCS Dumps Valid Version with 260 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments