From owner-freebsd-questions Tue Sep 11 6:12:26 2001 Delivered-To: freebsd-questions@freebsd.org Received: from cartman.private.techsupport.co.uk (cabletel1.cableol.net [194.168.3.4]) by hub.freebsd.org (Postfix) with ESMTP id 1B6DA37B401 for ; Tue, 11 Sep 2001 06:12:22 -0700 (PDT) Received: from ceri by cartman.private.techsupport.co.uk with local (Exim 3.31 #1) id 15gkCn-000135-00; Tue, 11 Sep 2001 10:51:45 +0100 Date: Tue, 11 Sep 2001 10:51:45 +0100 From: Ceri To: Andre Cameron Cc: FreeBSD Questions Subject: Re: Shell scripts? Message-ID: <20010911105145.A1845@cartman.private.techsupport.co.uk> References: <00be01c13a83$44dc4e60$9cd22d18@ANC> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <00be01c13a83$44dc4e60$9cd22d18@ANC>; from camcom@optonline.net on Tue, Sep 11, 2001 at 01:33:21AM -0400 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 On Tue, Sep 11, 2001 at 01:33:21AM -0400, Andre Cameron said: > Hey I just made l > which holds ls -al -color > then I chmod l to 777 in /bin and tried in /usr/bin and when I type l it > says command not found... In red hat if I hit l it would call my l script! > not that this is redhat:) plus why no pico? vi is a pain:( HELP PLEASE:) For your own good, may I suggest you immediately chmod 755 /usr/bin/l ? Also, is it just possible that the first line of l happens to be : #!/bin/bash ? That's not going to work on FreeBSD (not on a default install, anyway). Ceri -- Aren't we supposed to hate Darth Maul? Then why doesn't he do anything more evil than defeat one of his opponents in a 2-on-1 fight? --Jon Hall, rec.arts.tv.mst3k.misc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message