Date: Sun, 15 Aug 1999 06:54:58 -0700 From: dmp@aracnet.com To: Eric Hodel <hodeleri@seattleu.edu> Cc: Ng Kok Leong <klng@psl.com.sg>, freebsd-newbies@FreeBSD.ORG, freebsd-user-groups@FreeBSD.ORG Subject: Re: path Message-ID: <37B6C6B2.EF4010DB@aracnet.com> References: <37B404C4.332848AE@psl.com.sg> <37B6180E.E9F5335F@seattleu.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Eric Hodel wrote: > > Ng Kok Leong wrote: > > > > Hi, > > > > I am new to FreeBSD and currently I am working with FreeBSD3.2. > > May I know where can I set the directory path so that I do not have > > to go to the directory where the file resides in order to access it? > > I have tried to set the PATH variable in the .profile file but this does > > If you are using sh, you can set your path in the .profile, but this > will only run on a login shell. If you have root using the sh shell, it > won't pick up the sbin directories if you su. The -l flag makes su behave like a login shell. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37B6C6B2.EF4010DB>