From owner-freebsd-questions Tue Aug 6 6:31:12 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F27137B400 for ; Tue, 6 Aug 2002 06:31:09 -0700 (PDT) Received: from mail.thundernet.cz (mail.thundernet.cz [62.77.87.114]) by mx1.FreeBSD.org (Postfix) with SMTP id 7488A43E42 for ; Tue, 6 Aug 2002 06:31:07 -0700 (PDT) (envelope-from neuhauser@bellavista.cz) Received: (qmail 6041 invoked from network); 6 Aug 2002 13:31:00 -0000 Received: from unknown (HELO freepuppy.bellavista.cz) (62.168.44.50) by mail.thundernet.cz with SMTP; 6 Aug 2002 13:31:00 -0000 Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id DE68938B; Tue, 6 Aug 2002 15:30:59 +0200 (CEST) Date: Tue, 6 Aug 2002 15:30:59 +0200 From: Roman Neuhauser To: Grant Cooper Cc: questions@FreeBSD.org Subject: Re: executing a file in general Message-ID: <20020806133059.GX1066@freepuppy.bellavista.cz> Mail-Followup-To: Grant Cooper , questions@FreeBSD.org References: <018e01c23d49$dd42e190$2afececd@TCOOPER> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <018e01c23d49$dd42e190$2afececd@TCOOPER> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > From: "Grant Cooper" > To: > Subject: executing a file in general > Date: Tue, 6 Aug 2002 07:04:57 -0600 > > I normally use sh to execute a shell file even though some examples > don't do it. I figure it has to do something with my shell. And than > there are other times its not a script, but an executable file. Some > files I can't run. Is there a command to man for this op? Or something > to get me started? > > For example: > # var/qmail/bin/qmail-popup blah /bin/checkpassword pwd > invalid command or file name - couldn't do a sh either. And I am > running from route. 1) wrap your lines at about 72 characters. 2) i couldn't parse your message 3) "invalid command or file name" is an msdos error message, isn't it? (i get "foo: command not found" from all shells i have installed) 4) you probably wanted to type "/var/qmail..." in your example -- FreeBSD 4.6-STABLE 3:26PM up 6 days, 23:03, 11 users, load averages: 0.01, 0.03, 0.02 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message