On Sun, 2006-01-08 at 13:14 +0530, Shriramana Sharma wrote:
Sunday, 08 January 2006 11:09 samaye, Tom Peters alekhiit:
Where is it? Your current directory is not checked for executables in most shells, unlike that toy o/s MS-DOS. If there isn't a PATH to it, you will definitely have to specify ./filename
Thanks, all, for your interest. Apparently my previous post to the list was not delivered to the list because Simon Roberts's reply had a reply-to header to his id.
I have since been able to successfully run many programs using ./filename, but I do wonder why the current directory is not checked. What is wrong with that behaviour? And why should the DOS shell be derided for providing this facility?
It is done for security reasons. You must manually add the ability to execute files in the "." (current) directory. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998