Posted on

Linux+ – LX0-101 – Exam 1 Samples – Question 40

Which of the following commands will print a list of usernames (first column) and their corresponding user id (uid, third column) from /etc/passwd?

A. cut -d: -f1,3 /etc/passwd
B. chop -c 1,3 /etc/passwd
C. tac 1-3 /etc/passwd
D. fmt -u /etc/passwd

This Question is from the premium VCE/PDF and it is available for you here for free.

Correct Answer: A

Leave a Reply

Your email address will not be published. Required fields are marked *