Summery

echo is a shell command that prints text or variable values to standard output.

Commands

echo "Hello world" - Print text
echo "$USER" - Print a variable’s value
echo -e "A\nB" - Interpret escape sequences, e.g. newline
echo "test" > file - Write text to a file, overwriting it
echo "test" >> file - Append text to a file