[Gllug] What's so good about Debian?

Richard Cottrill richard_c at tpg.com.au
Thu Oct 9 13:01:06 UTC 2003


FORSTER, David wrote:
> I couldn't start a shell script
> by just typing it's filename, I had to precede it with a './' and still

This is because the PATH variable in MS-world implicitly includes the 
current directory. In UNIX the path is as stated in PATH without 
exception or addition.

if you add something like:

export PATH=$PATH:.

to your ~/.profile file (implicitly executed by the shell when you log 
in) then it will add the current directory to your PATH in future.

Richard

P.S.: the tilde (~) represents your home directory, something like 
/home/david


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list