Date: Tue, 9 Jan 1996 19:41:20 -0800 (PST) From: Doug White <dwhite@riley-net170-164.uoregon.edu> To: David Brockus <dbrockus@cyberhall.com> Cc: FreeBSD questions <questions@freebsd.org> Subject: Re: Paths in FreeBSD Message-ID: <Pine.BSF.3.91.960109193803.4562E-100000@gdi.uoregon.edu> In-Reply-To: <Pine.BSF.3.91.960109141015.7219A-100000@cyber1.cyberhall.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 9 Jan 1996, David Brockus wrote: > I am running FreeBSD 2.0.5R. I have a problem with the path settings. > I have a prolem with directories that are not in the path. I can not > execute a files in those directories by just typing thier name. I must > type > > ./ > > to indicate the current directory and then type the file name. This is standard Unix procedure. After running DOS a while you have to get into the habit :-) > Adding "." to the path in the .cshrc file seems to fix this but I get > this error message > > Warning: exported path contains relative components. > > I was wondering what the correct solutions is? Thanks in advance It's to warn you to watch out what you're running. It's pretty easy to fool someone into running a destructive script this way (ie, if you type ``pine'' just after you login, someone could put a ``pine'' script in your home dir that does ``rm *'' instead). If you have binaries/scripts you run a lot make a directory called ``bin'' off your home directory and put them in there; ~/bin is in the path by default. Doug White | University of Oregon Internet: dwhite@gladstone.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960109193803.4562E-100000>