Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI 101-500 Exam - Topic 7 Question 10 Discussion

Which of the following commands prints a list of usernames (first column) and their primary group (fourth column) from the /etc/passwd file?
B) cut --d : -f 1,4 /etc/passwd
A) fmt --f 1,4 /etc/passwd
C) sort --t : -k 1,4 /etc/passwd
D) paste --f 1,4 /etc/passwd
E) split --c 1,4 /etc/passwd

LPI 101-500 Exam - Topic 7 Question 10 Discussion

Actual exam question for LPI's 101-500 exam
Question #: 10
Topic #: 7
[All 101-500 Questions]

Which of the following commands prints a list of usernames (first column) and their primary group (fourth column) from the /etc/passwd file?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

0/2000 characters
Alyce
10 months ago
E is definitely not it, that's for sure!
upvoted 0 times
...
Lenita
10 months ago
Wait, are you sure B is correct? Seems too simple!
upvoted 0 times
...
Lisha
10 months ago
C is totally wrong, it doesn't print like that.
upvoted 0 times
...
Bonita
10 months ago
I thought it was A at first, but B makes more sense.
upvoted 0 times
...
Naomi
11 months ago
Definitely B, that's the right command!
upvoted 0 times
...
Kristeen
11 months ago
I can't recall what fmt or paste do exactly, but they don't seem right for this task.
upvoted 0 times
...
Ressie
11 months ago
I feel like sort was used in a similar question, but it was for ordering rather than extracting specific fields.
upvoted 0 times
...
Glendora
11 months ago
I remember practicing with the cut command for extracting fields from files. I think it's the right choice here.
upvoted 0 times
...
Ashton
11 months ago
I think the command we need is the one that uses a delimiter, but I'm not sure if it's cut or something else.
upvoted 0 times
...
Sabra
11 months ago
I'm a bit confused by the different components mentioned. I'll re-read the question and options carefully to make sure I don't miss any key details.
upvoted 0 times
...
Kenny
11 months ago
Based on the information provided, the Behavioral Trigger activity is the way to go. It allows you to respond directly to the customer's purchase and keep the journey moving forward.
upvoted 0 times
...
Irene
11 months ago
This seems like a straightforward question about the different types of interview questions. I'm pretty confident I can figure this out.
upvoted 0 times
...
Candra
11 months ago
Wait, does it really say to remove all comments and functions from the Python script? That seems counterintuitive if the goal is to minimize code maintenance. I'm a bit confused about that part.
upvoted 0 times
...

Save Cancel