Getting bad interpreter error

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Mike Starke
Date:  
Subject: Getting bad interpreter error
On Wed, Dec 11, 2002 at 09:08:16AM -0800, mazdaracer wrote:
/_Yes to all!
/_
/_iptables -L returns empty fields
/_
/_ls -lt on /etc/rc.d returns rwx on rc.firewall-2.4
/_
/_which sh returns /bin/sh
/_
/_and finally while in /etc/rc.d:
/_./rc.firewall-2.4 returns
/_: bad interpreter: No such file or directory
/_

I was always taught to but a space between the
"pound-bang" and whatever followed. Some shells choked
otherwise.


#! /bin/sh

rather than

#!/bin/sh