PDA

View Full Version : random fact generator



shmoesus
February 20th, 2009, 06:34 PM
hi, im a n3wb with this ubuntu stuff and so anyways i was playing around with the fortune program in the shell and i was wondering if anyone could help me make a random fact generator, i want to do this for a joke kinda thing so when im sitting in class me and my friends can read off random chuck norris facts, i tried using the cat command on the fortune program but it keeps screwing up the words and stuff, i was wondering 2 other things is 1 - if you can open the fortune program and just rewite all the facts in it, and 2 - if you can do that how?
so if anyone can help that would be really cool

koenn
February 20th, 2009, 07:49 PM
man fortune