[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Command Performance.




Tesla Coil said:
> Using xterm, rxvt, eterm, wterm, commands execute just fine 
> if they are in $PATH, but others return "command not found"
> even when I cd to the directory, do an ls to confirm that
> it's there, and issue the command at that point.  Shell
> makes no difference, but these commands will execute from
> midnight commander...
> 
> Um, what could have this result?

Umm...  If it isn't in $PATH, why should it run?  Unix shells don't
run stuff in the current directory unless "." is in $PATH (which is a
security hole).  If you want to run foo in the current directory, do
"./foo".

Steve
-- 
steve@silug.org           | Linux Users of Central Illinois
(618)398-7320             | Meetings the 4th Tuesday of every month
Steven Pritchard          | http://www.luci.org/ for more info

--
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.