LPI
117-101 · Question #55
117-101 Question #55: Real Exam Question with Answer & Explanation
Sign in or unlock 117-101 to reveal the answer and full explanation for question #55. The question stem and answer options stay visible for context.
Question
Which of the following commands will change all CR-LF pairs in an imported text file, userlist.txt, to Linux standard LF characters and store it as newlist.txt?
Options
- Atr '\r\n' '' <userlist.txt > newlist.txt
- Btr -c '\n\r' '' < newlist.txt > userlist.txt
- Ctr -d '\r' < userlist.txt > newlist.txt
- Dtr '\r' '\n' userlist.txt newlist.txt
- Etr -s '^M' '^J' userlist.txt newlist.txt
Unlock 117-101 to see the answer
You've previewed enough free 117-101 questions. Unlock 117-101 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.