LPIC-1 Exam 101, Part 1 of 2, version 5.0 101-500 Question # 14 Topic 2 Discussion

LPIC-1 Exam 101, Part 1 of 2, version 5.0 101-500 Question # 14 Topic 2 Discussion

101-500 Exam Topic 2 Question 14 Discussion:
Question #: 14
Topic #: 2

Which of the following commands changes all CR-LF line breaks in the text file userlist.txt to Linux standard LF line breaks and stores the result in newlist.txt?


A.

tr –d ‘\r’ < userlist.txt > newlist.txt


B.

tr –c ‘\n\r’ ‘’ userlist.txt


C.

tr ‘\r\n’ ‘’ newlist.txt


D.

tr ‘\r’ ‘\n’ userlist.txt newlist.txt


E.

tr –s ‘/^M/^J/’ userlist.txt newlist.txt


Get Premium 101-500 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.