PrepAway - Latest Free Exam Questions & Answers

Which of the following commands will change all CR-LF pairs in an imported text file, userlist.txt, to Linux s

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?

PrepAway - Latest Free Exam Questions & Answers

A.
tr ‘rn’ ” < userlist.txt > newlist.txt

B.
tr -c ‘nr’ ” < newlist.txt > userlist.txt

C.
tr -d ‘r’ < userlist.txt > newlist.txt

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

E.
tr -s ‘^M’ ‘^J’ userlist.txt newlist.txt


Leave a Reply