From owner-freebsd-questions Sun May 20 21:13:53 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id A076437B422 for ; Sun, 20 May 2001 21:13:50 -0700 (PDT) (envelope-from keramidi@otenet.gr) Received: from hades.hell.gr (patr530-b115.otenet.gr [195.167.121.243]) by mailsrv.otenet.gr (8.11.1/8.11.1) with ESMTP id f4L4DkO28685; Mon, 21 May 2001 07:13:46 +0300 (EEST) Received: (from charon@localhost) by hades.hell.gr (8.11.3/8.11.3) id f4L4DkE15070; Mon, 21 May 2001 07:13:46 +0300 (EEST) (envelope-from keramidi@otenet.gr) Date: Mon, 21 May 2001 07:13:46 +0300 From: Giorgos Keramidas To: jcouch@netdoor.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: fortune Message-ID: <20010521071345.C11649@hades.hell.gr> References: <01052022134101.06706@katana.amberskogg.dns2go.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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 X-PGP-Fingerprint: 3A 75 52 EB F1 58 56 0D - C5 B8 21 B6 1B 5E 4A C2 X-URL: http://students.ceid.upatras.gr/~keramida/index.html Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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