#include
int main()
{
srand(time(NULL));
printf("%d ", (rand() % 1200));
return(0);
}
* This is the first shell script
/home/vcordes1/public_html/RndNumberGen > /home/vcordes1/public_html/RndNumber
echo ""
echo " "
echo " Welcome to Random "
echo " "
echo " "
echo " "
echo " This is the random number of the day: `cat RndNumber`
"
echo ""
echo ""
* This is the second shell script
/home/vcordes1/public_html/RndNumberScript > /home/vcordes1/public_html/RndNumberPage.html
=====Attributes=====
* Scripting
* Commands
* Files and Directories
* The Unix Shell
* The Unix Development Environment
* Text processing
* Job Control & Multitasking
=====Final Thinkings=====
* A fun project only a little bit of a pain to get cron to find everything properly