Lpi Linux Essentials 010 160 · Free Practice Question Easy

Question 6

What is the output of the following command?

for token in a b c;
   do echo -n ${token};
done

  • A anbncn
  • B abc
  • C $token$token$token
  • D {a}{b}{c}
Reveal correct answer

Correct answer: B

Explanation

OBJ-3.3: A token is a sequence of characters that forms a word or punctuation sign. It is made up of ordinary characters or operator characters but not both.

Discussion

Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.

You must be logged in to post a comment.

Preparing For

Your Certification?

255+ certifications
Detailed explanations
Free PDF samples

Has All The Questions You Need