The command that will generate a list of user names from `/etc/passwd` along with their login shell is:
D. `cut -d: -f1,7 /etc/passwd`
This `cut` command specifies the delimiter (`-d:`) as a colon and selects fields (`-f1,7`) for the username and the login shell from the `/etc/passwd` file.
upvoted 1 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
DuboisNicolasDuclair
1 year, 4 months ago