Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI Exam 101-500 Topic 4 Question 114 Discussion

Actual exam question for LPI's 101-500 exam
Question #: 114
Topic #: 4
[All 101-500 Questions]

Which of the following commands will reduce all consecutive spaces down to a single space?

Show Suggested Answer Hide Answer
Suggested Answer: E

Contribute your Thoughts:

Willow
13 days ago
E is definitely the answer. The '-s' flag in tr will 'squeeze' consecutive occurrences of the specified character, which is exactly what we need to do here.
upvoted 0 times
...
Sabra
14 days ago
I'm not sure, but I think the answer is B)
upvoted 0 times
...
Darci
15 days ago
I disagree, I believe the answer is A)
upvoted 0 times
...
Blair
17 days ago
I'm torn between B and E, but I think E is the way to go. Reducing consecutive spaces to a single space is what the question is asking for, and the '-s' flag in tr seems like the right tool for the job.
upvoted 0 times
...
Taryn
17 days ago
I think the answer is E)
upvoted 0 times
...
Yuette
21 days ago
Option E looks like the correct answer to me. The '-s' flag in tr will squeeze consecutive occurrences of the specified character, which is exactly what the question is asking for.
upvoted 0 times
Carey
4 days ago
I think option E is the correct answer.
upvoted 0 times
...
...

Save Cancel