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

Re[2]: help executing executable files!!



  I would rename the file to something else, many shells also have a test
command.  One of those "Gotcha's" that you run into from time to time.

... Steve

"Frank N. Stein" <kcsmart microlink net> wrote:
> On Fri, 04 Sep 1998, Marxen, Sara half-heartedly stated:
> >Do not understand what happened.
> >One minute I'm executing and modifying a test script, the next
> >minute when I try to execute it it says no such file.   I do
> >and ls and its there, I chmod 777 on it, vi it and change something,
> >then try to execute it, says no such file or directory.  
> >This has completely baffled me, am I losing my mind??
> >
> >[smarxen mode smarxen]$ ls -l test
> >-rwxrwxrwx   1 smarxen  smarxen       384 Sep  4 08:35 test      
> >[smarxen mode smarxen]$ ./test
> >bash: ./test: No such file or directory    
> >[smarxen mode smarxen]$ pwd
> >/home/unixusrs/smarxen
> >[smarxen mode smarxen]$ /home/unixusrs/smarxen/test
> >bash: /home/unixusrs/smarxen/test: No such file or directory    
> 
> Does it still have '#! /bin/sh' at the top of the file?
> 
> --
> Pardon my english; I went to US public school.
> 


hazelett aa net



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