echo
Display a line of text.
$ echo "Hello, World\!"
Examples
# Display text echo Hello World # No newline echo -n "Loading..." # With escape sequences echo -e "Line 1\nLine 2\tTab" # With variable echo "Home directory: $HOME"
Display a line of text.
Examples
# Display text echo Hello World # No newline echo -n "Loading..." # With escape sequences echo -e "Line 1\nLine 2\tTab" # With variable echo "Home directory: $HOME"