ExamGecko
Question list
Search
Search

Question 224 - 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.
cut -d : -f 1,4 /etc/passwd
Answers
B.
cut -d : -f 1,4 /etc/passwd
C.
sort -t : -k 1,4 /etc/passwd
Answers
C.
sort -t : -k 1,4 /etc/passwd
D.
paste -f 1,4 /etc/passwd
Answers
D.
paste -f 1,4 /etc/passwd
E.
split -c 1,4 /etc/passwd
Answers
E.
split -c 1,4 /etc/passwd
Suggested answer: B
asked 18/09/2024
JEAN-MARIE HERMANT
30 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first