mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-12-27 19:03:34 +03:00
20 lines
371 B
Markdown
20 lines
371 B
Markdown
# echo
|
|
|
|
> Print given arguments.
|
|
|
|
- Print a text message. Note: quotes are optional:
|
|
|
|
`echo {{"Hello World"}}`
|
|
|
|
- Print a message with environment variables:
|
|
|
|
`echo {{"My path is $PATH"}}`
|
|
|
|
- Print a message without the trailing newline:
|
|
|
|
`echo -n {{"Hello World"}}`
|
|
|
|
- Enable interpretation of backslash escapes (special characters):
|
|
|
|
`echo -e {{"Column 1\tColumn 2"}}`
|