2013-03-13 02:25:16 -04:00

15 lines
169 B
Bash
Executable File

#!/bin/sh
FORTUNE=`which fortune`
echo Content-type: text/plain
echo
if [ -x $FORTUNE ]; then
$FORTUNE
else
echo Cannot find fortune command on this system.
fi