Which of the following commands changes all CR-LF line breaks in the text file userlist.txt to Linux standard LF line br
Posted: Sat Aug 20, 2022 7:48 am
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 "˜\n\r' "˜' <newlist.txt> userlist.txt
C. tr "˜\r\n' "˜' <userlist.txt> newlist.txt
D. tr "˜\r' "˜\n' userlist.txt newlist.txt
E. tr ""s "˜/^M/^J/' userlist.txt newlist.txt
A. tr ""d "˜\r' < userlist.txt > newlist.txt
B. tr ""c "˜\n\r' "˜' <newlist.txt> userlist.txt
C. tr "˜\r\n' "˜' <userlist.txt> newlist.txt
D. tr "˜\r' "˜\n' userlist.txt newlist.txt
E. tr ""s "˜/^M/^J/' userlist.txt newlist.txt