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

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/[asswd
B. chop -c 1,3 /etc/passwd
C. tac 1-3 /etc/passwd
D. fmt -u /etc/passwd

comptia-exams

Leave a Reply

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


The reCAPTCHA verification period has expired. Please reload the page.