🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #47971

Re: newbie question : why won't some programs execute ?

#47971
From: Paul Hustava
Date: Fri, 25 Dec 1998 00:00
29 lines
1573 bytes
Paul Clyne wrote:
>Hi, Me again...
<snippity doo-daa>
>	I found the program in the /usr/games directory so popped over 
>there and tried to execute.  I get the response "bash: fortune: command 
>not found".

It's not in your search path. Type 'echo $PATH' to verify

>	Thinking it was a rights problem I logged in as root and tried 
>again.  Same error message.  The rights on the file are -rwxr-xr-x.
>
>	I tried on some of the other files in this directory and get the 
>same sort of error messages.  I went up on level to see what the rights 
>were on this directory and they were the same as the the individual 
>files.

You must think that being in the same directory as the executbale makes
the command interpretor look there first. Ahhh, Dos on the brain! :) 
Don't worry, it happens to everyone. Either add /usr/games to your $PATH
or type ./<command_name> when the executable file is in your current 
working directory.

>	What am I doing wrong ?.  Please help..

>	Please also send your responses to my mail (pclyne@idx.com.au) as 
>I want to ensure I don't miss the reply

Posted & mailed
Technical Details
Message-ID: <slrn787tni.1uc.spaz@hinshara.inlink.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <MPG.10ee1412cad847ce989689@news.idx.com.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 102983,e0d3895f785fdf88
X-Google-Attributes: gid102983,public
From: spaz@hinshara.inlink.com (Paul Hustava)
Subject: Re: newbie question : why won't some programs execute ?
Date: 1998/12/25
Message-ID: <slrn787tni.1uc.spaz@hinshara.inlink.com>
X-Deja-AN: 425786180
References: <MPG.10ee1412cad847ce989689@news.idx.com.au>
Organization: InLink
Newsgroups: aus.computers.linux