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?
Suggested Answer: C
Get Premium 101-500 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
11 comments · newest first
OT
Otis
11 months ago
I agree with C, it’s the simplest way to do it.
RO
Rosalind
11 months ago
Wait, I thought LF was just a line break, not a command thing?
DE
Desmond
12 months ago
Definitely not B, that one’s wrong.
ME
Melynda
12 months ago
I think A looks correct too, but not sure.
EL
Eliz
12 months ago
Option C is the right command!
GL
Gladys
1 year ago
I can't recall if we used `tr` with `--s` for substitution in class, but it doesn't seem right for this question.
AN
Anglea
1 year ago
I feel like option A is close, but it seems like it might not be the right syntax for what we need.
SH
Sharika
1 year ago
I remember practicing a similar question, and I think the correct command uses the `--d` option to delete characters.
PE
Peter
1 year ago
I think the command should remove the carriage return characters, but I'm not sure if it's option C or D.
LA
Lashandra
1 year ago
Okay, I've got a few ideas here. I'm thinking we can downsize the notebook instance and use a more memory-optimized instance for the data preprocessing. And stopping the notebook when it's not in use should help save some costs too.
MA
Malinda
1 year ago
I'm a bit confused by the wording of the question. Can someone clarify what "Consistent CDC" means in the context of this problem?