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
You might also like to view...
Cells within a table can be bolded and italicized, but you cannot change the font
Indicate whether the statement is true or false
When you add bones to a symbol instance or to a shape, the instance or shape and its armature are moved to a new layer called a ____ layer.
A. leaf B. pose C. ligament D. skeletal
Most Windows logs are turned on automatically
Indicate whether the statement is true or false.
Cell padding can be added to ____ of a cell.
A. the top and bottom B. the left and right areas C. the top, bottom, left, and right areas D. the top