On Tue, 10 Oct 2000, Ronald Warner wrote:

> found the rpm...  how do I make my own quotes for use by fortune?
>
go to /usr/share/games/fortunes/ directory. take a look at the fortunes
there. you can see that there is a plain file such as myown and a dat file
such as myown.dat. what you can do is look at the formatting of the myown
file and make your own. and then do a 

strfile myown myown.dat

and wala you have your own fortunes file. to view fortunes from it

/usr/games/fortune myown

good luck.

 
> thanks.
> 
> > what rpm is fortune in?  thanks.
> > 
> > > 
> > > > what do i do to "rotate" the messages (in /etc/motd) displayed on 
> > > > the users terminal?  can it be done automatically?  or do I have to 
> > > > create a script?  I would like to display  a different message for 
> > > > each user.
> > > > 
> > > what i would do is that i would right a short bash script something like 
> > > 
> > > #!/bin/bash
> > > /usr/games/fortune -o > /etc/motd
> > > 
> > > then i would execute this script with a crontab entry. not only do i
> > > change the /etc/motd. my issue and issue.net also changes. 
> > >  
> > > ---------------------
> > > [EMAIL PROTECTED]
> > >  
> > > I don't remember it, but I have it written down.
> > >  
> > > 
> > > 
> > > _
> > > Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
> > > To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
> > 
> > 
> > 
> > _
> > Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
> > To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
> 
> 
> 
> _
> Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
> To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
> 

 
---------------------
[EMAIL PROTECTED]
 
I don't remember it, but I have it written down.
 


_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Reply via email to