The date (Sobell, page 62) utility displays the date and time. Write and exe- cute a shell script that displays the date and time, the name of your home directory, and the value of your PATH variable.
What will be an ideal response?
$ cat mine
#!/bin/bash
# This script displays time and date,
# the name of your home directory, and
# the value of your PATH variable.
date
echo $HOME
echo $PATH
$ ./mine
Fri Oct 19 16:24:43 PDT 2012
/home/max
/usr/local/bin:/bin:/usr/bin:/sbin:/home/max/bin
Computer Science & Information Technology