Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 May 2001 07:13:46 +0300
From:      Giorgos Keramidas <keramidi@otenet.gr>
To:        jcouch@netdoor.com
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: fortune
Message-ID:  <20010521071345.C11649@hades.hell.gr>
In-Reply-To: <01052022134101.06706@katana.amberskogg.dns2go.com>; from root@katana.amberskogg.dns2go.com on Sun, May 20, 2001 at 10:13:41PM -0500
References:  <01052022134101.06706@katana.amberskogg.dns2go.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, May 20, 2001 at 10:13:41PM -0500, Jim Couch wrote:
> It's a silly little thing, but I would really like to run the fortune program 
> at login......
> I can't seem to find it. I did find an Italian version but......
> could someone please point me in the right direction???

There are many ways to do this.  One of them, which assumes you have the
sources installed, could be:

. Compile and install `fortune'.

	# cd /usr/src/games/fortune
	# make
	# make install

. Put in your shell startup file a line that executes `fortune'
  (that is, if it's not already in there).

	% cat >> .login
	test -x /usr/games/fortune && /usr/games/fortune

Add what fortune options you feel like adding to this last line :-)

--giorgos


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010521071345.C11649>