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 ?
A) tr '\r\n' '' < userlist.txt > newlist.txt
B) tr -c '\n\r' '' < 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
Correct Answer:
Verified
Q121: Which of the following are modes of
Q122: Which of the following commands print the
Q123: Which of the following commands will display
Q124: Which of the following statements describes a
Q125: Which of the following commands will print
Q127: When in Normal mode in vi ,
Q128: Which of the following is a limitation
Q129: How can the list of files that
Q130: What does the command grub-install /dev/sda do?
A)
Q131: Pressing the Ctrl-C combination on the keyboard
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents