Description

Used to display text passed in as arguments.

Usage

# Interprete the escape characters too
echo -e "Hello\\tWorld\\n"
 
# Appending text to a file
echo "Hello world" >> test.txt
 
# Overwriting text from the file
echo "Hello world" > test.txt
 
# Display variables
name="world"
echo "Hello $name"

Options

OptionsDescription
-nhelps remove trailing newline characters
-eenable interpretations of escape characters

Installation

NA

References