# possibility 1:
echo "line 1" >> greetings.txt
echo "line 2" >> greetings.txt
# possibility 2:
echo "line 1
line 2" >> greetings.txt
# possibility 3:
cat <<EOT >> greetings.txt
line 1
line 2
EOT
function help() {
echo -e
"Usage:
"
" $0 URL [--no-recurse] [-s]
"
" URL
"
" Link to Mediafire folder.
"
" e.g. www.mediafire.com/?sample or mediafire.com/?sample
"
" --no-recurse
"
" List only files under the current folder.
"
" Default option is to recursively list all files.
"
" -s, --silent
"
" Supress all error messages.
" >&2;
}
#!/bin/bash
cat << EOF
Mystuff mylines myprintstuff
hello world!
you are awesome!
EOF