What command will print a list of usernames (first column) and their corresponding user id (uid,third column) from /etc/passwd?

What command will print a list of usernames (first column) and their corresponding user id (uid,
third column) from /etc/passwd?

What command will print a list of usernames (first column) and their corresponding user id (uid,
third column) from /etc/passwd?

A.
cut -d: -fl,3 /etc/passwd

B.
chop -c l,3 /etc/passwd

C.
tac l-3 /etc/passwd

D.
fmt -u /etc/passwd



Leave a Reply 0

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