Which of the following commands will reduce all consecutive spaces down to a single space?
A) tr '\s' ' ' < a.txt > b.txt
B) tr -c ' ' < a.txt > b.txt
C) tr -d ' ' < a.txt > b.txt
D) tr -r ' ' '\n' < a.txt > b.txt
E) tr -s ' ' < a.txt > b.txt
Correct Answer:
Verified
Q43: Which of the following is the device
Q44: Which of the following commands will print
Q45: In order to display all currently mounted
Q46: Which of the following command sets the
Q47: Which of the following commands makes /bin/foo
Q49: Which of the following shell redirections will
Q50: Which character, added to the end of
Q51: What happens after issuing the command vi
Q52: Which of the following commands can be
Q53: Which of the following commands changes the
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