What command will generate a list of user names from /etc/passwd along with their login shell?
What command will generate a list of user names from /etc/passwd along 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 . cut -d: -f1,7 /etc/passwd
Answer: D
Latest 101-500 Practice Questions with 242 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations
Subscribe
Login
0 Comments