Posted by: Pdfprep
Post Date: October 31, 2020
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