Date: Wed, 22 Feb 95 21:30 CST From: krnlhkr@mcs.com To: "Duane R. Ellison " <duane@dtq.ptw.com>, questions <questions@FreeBSD.org> Subject: Re: execute script Message-ID: <m0rhUGK-000kOrC@mailbox.mcs.com>
next in thread | raw e-mail | index | archive | help
<---- Begin Included Message ----> Hello, I am having a slight problem making a script executeable chmod 777 script_file. I thought maybe I was doing something wrong but I tried in on my service provider's system (linux) and it worked fine... basically vi dome echo Hello world!!! <:wq> chmod 777 dome dome Hello world!!! On my system I get an unknown command. I figure I have something messed up, but I am not sure what. Any clues would be appreciated. <---- End Included Message ----> You're probably running this in C shell which uses spaces as separators. run sh first (i.e., do: sh or exec sh) and then run it. -Louis ---------------------------------------------------------------------- Louis J. Giliberto, Jr. ! Support the Free Software Foundation krnlhkr@mcs.com ! ----------------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m0rhUGK-000kOrC>