Which of the following commands will provide the usernames in a sorted list gathered from the /etc/passwd file?

Which of the following commands will provide the usernames in a sorted list gathered from the /etc/passwd file?
A . cat /etc/passwd | awk ‘{print $1}’ | sort
B . sort /etc/passwd | cut
C . cat /etc/passwd | awk -F: ‘{print $1}’ | sort
D . echo /etc/passwd

Answer: C

Latest 101-500 Dumps Valid Version with 242 Q&As

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

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments