Unix Shell - Re: How to setup a simple shell script? "bad interpreter: No such file or directo

This is Interesting: Free IT Magazines  
Home > Archive > Unix Shell > December 2007 > Re: How to setup a simple shell script? "bad interpreter: No such file or directo





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: How to setup a simple shell script? "bad interpreter: No such file or directo
Carl Lowenstein

2007-12-30, 1:38 am

In article <fl5fepUqpbL1@news.in-ulm.de>,
Sven Mascheck <cus.x.mascheck@spamgourmet.com> wrote:
>artix <info> wrote:
>
[vbcol=seagreen]
>Then your problem was something different or your memory is fading
>about this. Linux and other well known kernels (e.g. *BSD), for
>which source is available, never had this issue.


I think you will find that the diagnostic
"bad interpreter: No such file or directory bin/bash"
can occur if the script is located in a file system that is mounted no-execute.

This happens infrequently, and the message is misleading, so it is hard
to track down.

carl
--
carl lowenstein marine physical lab, u.c. san diego
clowenstein@ucsd.edu
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com