Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Sep 2001 10:51:45 +0100
From:      Ceri <ceri@techsupport.co.uk>
To:        Andre Cameron <camcom@optonline.net>
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Shell scripts?
Message-ID:  <20010911105145.A1845@cartman.private.techsupport.co.uk>
In-Reply-To: <00be01c13a83$44dc4e60$9cd22d18@ANC>; from camcom@optonline.net on Tue, Sep 11, 2001 at 01:33:21AM -0400
References:  <00be01c13a83$44dc4e60$9cd22d18@ANC>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010911105145.A1845>