Which of the following commands generates a list of user names from /etc/passwdalong with their login shell?

Posted by: Pdfprep Category: 101-500 Tags: , ,

Which of the following commands generates a list of user names from /etc/passwdalong 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 . sort -t: -k1,7 /etc/passwd
E . cut -d: -f1,7 /etc/passwd

Answer: E

Leave a Reply

Your email address will not be published.