Working on the command line · Question 3 of 12
What does echo -n Hello do?
1 answer is correct. Easy Created with AI
Show answer
Answer
- A It prints Hello without a trailing newline
Explanation
Without -n, echo appends a newline. -n is useful for prompts in scripts, for example.