Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Dec 2001 08:35:55 -0800
From:      "Freddie Cash" <fcash@bigfoot.com>
To:        Petre Bandac <g38@rdsbv.ro>
Cc:        newbies@freebsd.org
Subject:   Re: bash newbie question
Message-ID:  <3C15C56B.32229.99DD7D9@localhost>
In-Reply-To: <01121111545202.00308@k>
References:  <3C150EE7.6C1DAF0@acuson.com>

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

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C15C56B.32229.99DD7D9>