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?

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 ‘nr’ ” userlist.txt
C. tr ‘rn’ ” newlist.txt
D. tr ‘r’ ‘n’ userlist.txt newlist.txt
E. tr -s ‘/^M/^J/’ userlist.txt newlist.txt

Download Printable PDF. VALID exam to help you PASS.

One thought on “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?

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.