QuestionQ26

VerifiedEssential Commands

Which of these commands reduces every run of consecutive spaces to a single space?

Explanation

The tr -s ' ' command squeezes repeated space characters, replacing each consecutive run of spaces with one space.

Community Discussion

No comments yet. Be the first to start the discussion!