Here's how it works:
cut is a command-line utility that cuts out sections from a file.
-d : specifies that the : character should be used as the field delimiter. This means that the fields in the file will be separated by the : character.
-f 1,4 specifies that the first and fourth fields should be extracted. This means that the first and fourth columns in the file will be printed to the output.
/etc/passwd is the file from which the fields will be extracted.
So, the overall effect of the command is to print the first and fourth fields from the /etc/passwd file, with the fields separated by a : character.
upvoted 1 times
...
This section is not available anymore. Please use the main Exam Page.LX0-103 Exam Questions
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.
linux_admin
2 years, 2 months ago