Posted on

Linux LX0-103 Exam 1 samples – Question 33

What command will generate a list of user names from /etc/passwd along with their login shell?

A. column -s : 1,7 /etc/passwd
B. chop -c 1,7 /etc/passwd
C. colrm 1,7 /etc/passwd
D. cut -d: -f1,7 /etc/passwd

Correct Answer: D
Section: GNU and Unix Commands

Leave a Reply

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