1.6 Exercises
1.6.1 Basic Usage
See Section 12.0.1 for solutions.
Execute the two commands
echo "Hi"andecho "Alien!". Then, try to put both of your commands on a single line and still have both executed once you press return. Note: on a Mac, printin exclamation marks ‘!’ is not so easy. The easiest is to use single quotes (i.e. ‘Alien!’instead of“Alien!`”).The command
dateprints the current date to the command line. Print the date in RFC 5322 format. Check the help page ofdateto figure out how to do this.