Getting bad interpreter error

Mike Starke plug-discuss@lists.plug.phoenix.az.us
Wed, 11 Dec 2002 12:21:17 -0500


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