ExamGecko
Question list
Search
Search

Question 95 - 101-500 discussion

Report
Export

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
Answers
A.
fmt -f 1,4 /etc/passwd
B.
split -c 1,4 /etc/passwd
Answers
B.
split -c 1,4 /etc/passwd
C.
cut -d : -f 1,4 /etc/passwd
Answers
C.
cut -d : -f 1,4 /etc/passwd
D.
paste -f 1,4 /etc/passwd
Answers
D.
paste -f 1,4 /etc/passwd
Suggested answer: C
asked 18/09/2024
Arvin Lee
39 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first