Redirection:
*
Redirecting multiple commands to the same file
{
echo "contents of home directory"
ls ~
} > output.txt