Date: Mon, 13 Jul 1998 11:06:57 -0700 (PDT) From: Dan Busarow <dan@dpcsys.com> To: Patrick Walker <pwalker@nb.sympatico.ca> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Ultra-lame questions. Message-ID: <Pine.BSF.3.96.980713105753.27878C-100000@java.dpcsys.com> In-Reply-To: <35AA3B4F.E7343B98@nb.sympatico.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 13 Jul 1998, Patrick Walker wrote: > I created a non-root user when I installed FreeBSD. > Now, all I get is 'command not found.' FreeBSD does not include . in the standard PATH. If you want that behaviour, add . to your PATH. For sh and variants in ~/.profile add PATH=$PATH:. For csh and variants in ~/.login add set path ($path .) > I can't even xinit as a lowly user or run any scripts. Another thing: Then you need to add /usr/X11R6/bin to your PATH To make the changes happen automatically when adding users modify the appropriate files in /usr/share/skel dot.profile and dot.login > I compile something small like this: 'cc -o file file.c'. > I don't get an error per say, but nothing shows up > on screen... there's no -l <library>? Not sure what the question is here. Did you expect an error from cc? (sorry, I already deleted the sample) If you ran file after the above cc then you should have gotten a diagnostic from the standard utility /usr/bin/file (see why . should be at the end if you do add it to PATH?) To get what you expect, try ./file Dan -- Dan Busarow 949 443 4172 DPC Systems / Beach.Net dan@dpcsys.com Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980713105753.27878C-100000>