From owner-freebsd-newbies Tue Dec 11 8:34: 9 2001 Delivered-To: freebsd-newbies@freebsd.org Received: from ocis.ocis.net (ocis.ocis.net [209.52.173.1]) by hub.freebsd.org (Postfix) with ESMTP id 273F237B419 for ; Tue, 11 Dec 2001 08:34:05 -0800 (PST) Received: from phoenix (dial-153.ocis.net [209.52.175.143]) by ocis.ocis.net (8.9.3/8.9.3) with ESMTP id IAA30479; Tue, 11 Dec 2001 08:33:54 -0800 From: "Freddie Cash" Organization: PhoenixTek Consulting To: Petre Bandac Date: Tue, 11 Dec 2001 08:35:55 -0800 MIME-Version: 1.0 Subject: Re: bash newbie question Reply-To: fcash@bigfoot.com Cc: newbies@freebsd.org Message-ID: <3C15C56B.32229.99DD7D9@localhost> References: <3C150EE7.6C1DAF0@acuson.com> In-reply-to: <01121111545202.00308@k> X-mailer: Pegasus Mail for Windows (v4.01) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > what I ment is if I can make bash look 100% like the linux bash > it's already installed - however, what bother me is that the > auto-completion of the command doesn't work like in linux - I mean if > there I typed "tr" and TAB I got the commands starting with "tr" [tr > traceroute trap > troff true tryaffix], while here I must type "trace" and > TAB > and only then I get the traceroute. Hit TAB twice to get the full list. The first time you hit TAB, BASH2 completes as much of the command as possible. If there is more than one command with those letters, then you have to hit TAB again to get the list. This is also the *default* setting for BASH2 in Linux. I have not used BASH1 in a long time, so I do not know if the default is the same or different. If you want to change the default behaviour, then read the man page. > must I understand that this is the only auto-completion of the command > I shall get in freebsd ? > > also - I was used to have some colors on the screen after a :-) Read the man page for ls and set your colours. Or, install the gnuls port and create aliases like "alias ls=gnuls --color" and so forth. > so, resumig, the question I have for those of you more experienced in > freebsd is: must I expect a 100% similarity in bash freebsd-linux or > the port to bsd is quite "incomplete" ? Bash is Bash is Bash, no matter what system it is running on. That's the beauty of portable code. You just have to do a lot of reading to figure out why things work a certain way, and to change it. Cheers, Freddie PhoenixTek Consulting fcash@bigfoot.com Unix / Networking Services (250) 314-4029 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message