echo

echo - display a line of text.


Display text in the standard output:

echo Hello World !!!

Display the value of a variable:

echo $HOME

Display one word per line:

echo -e "Debian \nFedora \nUbuntu \nMint"

Display words with horizontal tab spaces:

echo -e "Debian \tFedora \tUbuntu \tMint"

Display words with vertical tab spaces:

echo -e "Debian \vFedora \vUbuntu \vMint"

Display text in the same line:

echo -n "Line one."
echo "Same line."

Display all the files and folders (ls alternative):

echo *

Display files by extension:

echo *.pdf

Generate a sequence of numbers:

echo {01..50}