Contents
| Options | Description |
|---|---|
| \ | backslash |
| n | new line |
| r | carriage return |
| t | horizontal tab |
What is echo in Unix command?
echo command in linux is used to display line of text/string that are passed as an argument . This is a built in command that is mostly used in shell scripts and batch files to output status text to the screen or a file. Syntax : echo [option] [string]
How does echo command work?
echo is a built-in command in the bash and C shells that writes its arguments to standard output. … When used without any options or strings, echo returns a blank line on the display screen followed by the command prompt on the subsequent line.