From owner-freebsd-questions Mon Jul 13 11:06:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA07659 for freebsd-questions-outgoing; Mon, 13 Jul 1998 11:06:56 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from java.dpcsys.com (java.dpcsys.com [206.16.184.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA07645 for ; Mon, 13 Jul 1998 11:06:54 -0700 (PDT) (envelope-from dan@dpcsys.com) Received: from localhost (dan@localhost) by java.dpcsys.com (8.8.7/8.8.2) with SMTP id LAA29193; Mon, 13 Jul 1998 11:06:57 -0700 (PDT) Date: Mon, 13 Jul 1998 11:06:57 -0700 (PDT) From: Dan Busarow To: Patrick Walker cc: freebsd-questions@FreeBSD.ORG Subject: Re: Ultra-lame questions. In-Reply-To: <35AA3B4F.E7343B98@nb.sympatico.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 ? 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