public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
From: dave <dave@dpomeroy.com>
To: linux-newbie@vger.kernel.org
Subject: bash scripting
Date: Sat, 14 Aug 2004 19:00:19 -0800	[thread overview]
Message-ID: <411ED1C3.9030407@dpomeroy.com> (raw)

I tried the same script with #!/bin/bash as the first line and get the 
same error.  Then I cd to /bin and do a ls bash and this is what I get.

[dave@dave bin]$ ls bash
bash*
[dave@dave bin]$ ./bash
[dave@dave bin]$ /home/dave/scripts/new.sh
: bad interpreter: No such file or directory
[dave@dave bin]$

Then I tried the samw script again and I get the same error.  I used 
chmod and set the script file as 777.  Still no go.  I believe its not 
finding bash but I sure can't tell why.  I ran a setup.sh script in 
/usr/share/webmin today and it ran just fine.  I am confused   Any more 
ideas?  Thanks again.
Dave

-- 
Dave Pomeroy K7DNP SouthEastern Washington

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

             reply	other threads:[~2004-08-15  3:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-15  3:00 dave [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-08-15  3:12 bash scripting dave
2004-08-14 20:35 dave
2004-08-14 21:31 ` John Kelly
2004-08-14 23:13 ` Ray Olszewski
2004-08-14  6:35 dave
2004-08-14 12:36 ` John Kelly

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=411ED1C3.9030407@dpomeroy.com \
    --to=dave@dpomeroy.com \
    --cc=linux-newbie@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox