Echo is used to Display message on screen. Which of the following options below should be used with echo to not output the trailing newline?

Options
- /e
- /n
- -n
- both b and c


CORRECT ANSWER : -n

Discussion Board
Explanation-

-n do not output the trailing newline in linux.

Sapna 03-7-2017 02:47 AM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement