From owner-freebsd-questions Wed Feb 22 19:24:28 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id TAA16294 for questions-outgoing; Wed, 22 Feb 1995 19:24:28 -0800 Received: from kitten.mcs.com (Kitten.mcs.com [192.160.127.90]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id TAA16279 for ; Wed, 22 Feb 1995 19:24:21 -0800 From: krnlhkr@mcs.com Received: from mailbox.mcs.com (Mailbox.mcs.com [192.160.127.87]) by kitten.mcs.com (8.6.10/8.6.9) with SMTP id VAA27082; Wed, 22 Feb 1995 21:22:17 -0600 Received: by mailbox.mcs.com (/\==/\ Smail3.1.28.1 #28.5) id ; Wed, 22 Feb 95 21:30 CST Message-Id: Date: Wed, 22 Feb 95 21:30 CST Subject: Re: execute script To: "Duane R. Ellison " , questions X-Mailer: AIR Mail 3.X (SPRY, Inc.) Sender: questions-owner@FreeBSD.org Precedence: bulk <---- 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 ! ----------------------------------------------------------------------