Which of the following commands prints a list of usernames (first column) and their primary group (fourth column) from the /etc/passwd file?

Which of the following commands prints a list of usernames (first column) and their primary group (fourth column) from the /etc/passwd file?
A. fmt -f 1,4 /etc/passwd
B. cut -d : -f 1,4 /etc/passwd
C. sort -t : -k 1,4 /etc/passwd
D. paste -f 1,4 /etc/passwd
E. split -c 1,4 /etc/passwd

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

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


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