From owner-freebsd-questions@FreeBSD.ORG Wed Nov 19 07:26:26 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 04CE916A4CE for ; Wed, 19 Nov 2003 07:26:26 -0800 (PST) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 117F543FE5 for ; Wed, 19 Nov 2003 07:26:23 -0800 (PST) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.no-ip.com ([66.30.200.37]) by comcast.net (rwcrmhc13) with ESMTP id <2003111915261701500oaa8be>; Wed, 19 Nov 2003 15:26:22 +0000 Received: by be-well.no-ip.com (Postfix, from userid 1147) id A6AB73A; Wed, 19 Nov 2003 10:26:16 -0500 (EST) Sender: lowell@be-well.ilk.org To: "M.D. DeWar" References: <200310111243.08231.jason@dictos.com> <035501c3909c$3d1dd8d0$a4b826cb@goo> <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> From: Lowell Gilbert Date: 19 Nov 2003 10:26:16 -0500 In-Reply-To: <00ba01c3aeaf$39bf8b30$fa65a8c0@ocfl061> Message-ID: <44he105qhz.fsf@be-well.ilk.org> Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2003 15:26:26 -0000 "M.D. DeWar" writes: > [ -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 ? It's the "fortune cookie" program. That statement is there to give a "FreeBSD tip" (piece of information) to users when they log in. The first clause in that line makes sure the program is installed before running it; so if you don't have it, you won't get any errors.