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?

Posted by: Pdfprep Category: 101-500 Tags: , ,

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 Cd ‘r’ < userlist.txt > newlist.txt
B . tr Cc ‘
r’ ‘’ <newlist.txt> userlist.txt
C . tr ‘r
’ ‘’ <userlist.txt> newlist.txt
D . tr ‘r’ ‘
’ userlist.txt newlist.txt
E . tr Cs ‘/^M/^J/’ userlist.txt newlist.txt

Answer: A

Leave a Reply

Your email address will not be published.