You can output text to the terminal window using echo
$ echo Please wait...
Please wait...
$
without quotes, whitespace is lost
$ echo this was very widely spaced
this was very widely spaced
$
using quotes will preserve spacing
$ echo "this was very widely spaced"
this was very widely spaced
$
OR
$ echo 'this was very widely spaced'
this was very widely spaced
$
By using single quotes, the shell is told explicity not to interfere with the string at all. If you use double quotes, some shell substitutions will take place (variable and tilde expansions and command substitutions), but since there are none in this example, the shell has nothing to change. When in doubt, use the single quotes.
Writing Output To File
$ echo this is an example
this is an example
$ echo this is an example > file.txt
$
$ cat file.txt
this is an example
$
Saving Output from the ls Command
$ ls
a.out cong.txt def.conf file.txt more.txt
$
But when we save the output using >, we get this:
$ ls > /tmp/save.out
$ cat /tmp/save.out
a.out
cong.txt
def.conf
file.txt
more.txt
$
We could have the original style of output using the -C option
$ ls -C > /tmp/save.out
$ cat /tmp/save.out
a.out cong.txt def.conf file.txt more.txt
$
Alternatively, you could use the -1 (negative one) option on ls when we don't redirect to file then we get output like this:
$ ls -1
a.out
cong.txt
def.conf
file.txt
more.txt
save.out
$
For more information on ls, read the manual by typing: man ls