echo [text...]Arguments explained
- text is what to print.
- -n suppresses the trailing newline in many shells.
- -e interprets escapes in some implementations.
Common examples
echo "Hello Linux"Writes a line to the terminal.
echo "$PATH"Prints the command search path.
| Field | Details |
|---|---|
| Command | echo |
| Category | Shell and Environment |
| Primary use | Prints text or variable values. |
| Syntax | echo [text...] |