Weird tcsh question

Kevin D. Clark clark_k at pannaway.com
Mon May 9 15:05:01 EDT 2005


Kenny Donahue <kennyd at mc.com> writes:

> Hi all,
> I have a weird tcsh question ask.
> in both Linux and Solaris if try and execute . I get either
> /usr/sbin/. : permision deinied
> or in Lunux /bin/. :Permission denied. What is happening?
> Example:
>
> Kenny on somemachine% .
> /bin/.: Permission denied.
>
> No big deal but it got me wondering.

tcsh is trying to execute "/bin/." because "/bin" is the first
directory in your PATH environment variable.  "/bin" + "." equals
"/bin/." and since this exists, tcsh is trying to execute that.

--kevin
-- 
GnuPG ID: B280F24E                     And the madness of the crowd
alumni.unh.edu!kdc                     Is an epileptic fit
                                       -- Tom Waits



More information about the gnhlug-discuss mailing list