* Diwakar Ranganathan [linux-india] <10/05/01 13:04 +0100>:

> comrades, i've set up my linux to boot in console
> mode. how can i get a random qotd every day or every
> time i login?
 
 put "fortune" in your /etc/profile (or ~/.bashrc)
 
> also, can you please tell me how to add stuff to the
> fortune database?
 
 there, you know the answer to your previous question :)

 create a file with quotes separated by %

 %
 silly quote 1
 %
 silly quote 2
 %

 call it sillyqoutes - and copy it to your fortunes directory (say
 /usr/share/games/fortunes/)

 Then run

 # strfile sillyquotes

 To use only sillyquotes fortune cookies, run fortune -e sillyquotes

-- 
Suresh Ramasubramanian  <-->  mallet <at> efn <dot> org
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin


_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to