ExamGecko
Question list
Search
Search

Question 57 - 101-500 discussion

Report
Export

What command will generate a list of user names from /etc/passwd along with their login shell?

A.
column -s : 1,7 /etc/passwd
Answers
A.
column -s : 1,7 /etc/passwd
B.
chop -c 1,7 /etc/passwd
Answers
B.
chop -c 1,7 /etc/passwd
C.
colrm 1,7 /etc/passwd
Answers
C.
colrm 1,7 /etc/passwd
D.
cut -d: -f1,7 /etc/passwd
Answers
D.
cut -d: -f1,7 /etc/passwd
Suggested answer: D
asked 18/09/2024
sidra gray
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first