From owner-freebsd-questions@FreeBSD.ORG Wed Nov 19 07:31:28 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A0D6B16A4CE for ; Wed, 19 Nov 2003 07:31:28 -0800 (PST) Received: from webserver2.rtl.org (rtl-3.i2k.com [63.94.12.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 64C7A43FB1 for ; Wed, 19 Nov 2003 07:31:26 -0800 (PST) (envelope-from jstewart@rtl.org) Received: from mis3c.rtl.lan (rtl-2.i2k.com [63.94.12.206]) by webserver2.rtl.org (8.11.6/8.11.6) with ESMTP id hAJFM3T19430; Wed, 19 Nov 2003 10:22:03 -0500 Received: by mis3c.rtl.lan (Postfix, from userid 500) id F2E8C4FD1; Wed, 19 Nov 2003 10:31:46 -0500 (EST) Date: Wed, 19 Nov 2003 10:31:46 -0500 From: Jason Stewart To: "M.D. DeWar" Message-ID: <20031119153146.GA2800@rtl.org> Mail-Followup-To: "M.D. DeWar" , freebsd-questions@freebsd.org References: <001c01c3a082$afab7d30$0100000a@Biggie> <200311021458.49682.malcolm.kay@internode.on.net> <1067814513.825.497.camel@verdammt.falcotronic.net> <44ad7dimrc.fsf@be-well.ilk.org> <1067898777.825.714.camel@verdammt.falcotronic.net> <000d01c3a8a0$73b807a0$fa65a8c0@ocfl061> <3FB15FF9.4020606@daleco.biz> <009701c3a97d$9604d0d0$0100000a@Biggie> <3FB3A55A.9000406@daleco.biz> <00ba01c3aeaf$39bf8b30$fa65a8c0@ocfl061> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <00ba01c3aeaf$39bf8b30$fa65a8c0@ocfl061> User-Agent: Mutt/1.4.1i Organization: Right to Life of Michigan cc: freebsd-questions@freebsd.org Subject: Re: what is this for X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2003 15:31:28 -0000 On 19/11/03 10:10 -0500, M.D. DeWar wrote: > [ -x /usr/games/fortune ] && /usr/games/fortune freebsd-tips > > why and what is this command for. > I found it in the /home/user directory in the .profile file. > > no such thing in usr/games. > no errors in the message files > and searching freebsd ports shows no game called fortune. > > I assume its a x game but why is it listed ? > > Thanks > mark > Hi Mark, Try having a look at the man page for fortune: http://www.freebsd.org/cgi/man.cgi?query=fortune&apropos=0&sektion=0&manpath=FreeBSD+5.1-RELEASE+and+Ports&format=html You couldn't find it in ports, because fortune is not a port, it's part of the base, and it has nothing to do with X. You probably chose not to install it during the install process. The reason that it's installed by default, I presume, is that it's helpful to new users since it prints out tips about freebsd. Jason