Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Sep 1997 21:07:13 -0700 (PDT)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Tom Flynn <Tom.Flynn@AUC.TRW.Com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: help!!!!!!!!!!!!!!!!!!!! can't downoad with anything
Message-ID:  <Pine.BSF.3.96.970921210400.4716G-100000@gdi.uoregon.edu>
In-Reply-To: <19970921234751.AAA5778@d11.auc.trw.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 21 Sep 1997, Tom Flynn wrote:

> I don't Know if this is the place to write , please forward if it's
> not.  I am trying to set up FreeBSD by FTP and I  can't get a
> connection, I keep timing out trying to get the URL to connect. I
> have a version of 2.5.1 on CDROM and I can't seem to get much more
> than the sheel to run I have been trying to run the games as a test
> and the sheel respond that it cannot locate the file I am asking
> for.

This is a simple misconfiguration of your shell.  Most shells will only
search for programs specified by their `path' variable (kind of like DOS).
Unlike DOS, the current directory is not assumed to be in the path; that
can create some security problems.  So if you want to execute a program
not in your path, you must specify the path to it.  So if you wanted to
run `fortune' in the /usr/games directory, you have to type:

$ /usr/games/fortune

But if it's in the current directory, you have to preface it anyway:

$ cd /usr/games
$ ./fortune

If you take a look at .cshrc, you'll see a `set path' line something like
this: 

set path = (~/bin /bin /usr/{bin,games} /usr/local/bin /usr/X11R6/bin
/sbin /usr/sbin)

If /usr/games isn't in the list, just add it.  (the {bin,games} notation
automatically specified /usr/bin and /usr/games.)

Why don't you try that instead of reinstalling. :-)

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major
Spam routed to /dev/null by Procmail    | Death to Cyberpromo




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970921210400.4716G-100000>