cs252/lab5-src/http-root-dir/cgi-bin/date

15 lines
151 B
Plaintext
Raw Normal View History

2018-10-25 14:45:56 -04:00
#!/bin/sh
DATE=/bin/date
echo Content-type: text/plain
echo
if [ -x $DATE ]; then
$DATE
else
echo Cannot find date command on this system.
fi