I think I am using bash.

$ which bash
/bin/bash
$ cd /bin
$ ls -l *ash
-rwxr-xr-x 1 root root 676836 2006-09-20 00:24 bash
-rwxr-xr-x 1 root root  79912 2006-07-11 21:31 dash
lrwxrwxrwx 1 root root      4 2007-01-28 15:24 rbash -> bash
$ ls -l sh
lrwxrwxrwx 1 root root 4 2007-01-28 15:24 sh -> dash

   If I type sh or dash then I get a weird prompt like

\w \!$ \[\e]0;\w\a\]

and command completion doesn't work at all. My Linux book says that on many
Linux systems sh is symbolically linked to bash, but it seems that on mine it
is linked to dash instead.

   Other terminals like gnome-terminal, multi-gnome terminal, yakuake and linux
console (opened as a session from Konsole) all command complete in the same
way.

   My Linux book also talks about a file called .inputrc which isn't on my
system. Would this contain the right instructions for command completion?
-Graham Petley

> Date: Mon, 14 May 2007 13:32:03 +0200
> From: "James Attard" <[EMAIL PROTECTED]>
> Subject: Re: [LINUX.ORG.MT] Proper command line completion
> To: "Malta Linux User Group - general list" <[email protected]>
> 
> probably a bug...how does the linux console behave?
> 
> On 5/14/07, Graham Petley <[EMAIL PROTECTED]> wrote:
> >
> > Hallo,
> >    I've recently changed from Suse/KDE to Ubuntu/Gnome. But I'm still
> > using
> > Konsole as my shell. I find that the command line completion doesn't work
> > properly.
> >    In a directory I have some files beginning with cell_ and a directory
> > called
> > cells. Command line completion doesn't work when I type
> > $ cd cell<TAB>
> >
> >    Hitting TAB repeatedly gives the listing of the choices that stop the
> > completion.
> > cell_choice2.html         cell_choice.html          cell_list_vx.html
> > cell_choice2.html~        cell_list.html            cell_list.xls
> > cell_choice2.html_050426  cell_list_old.html        cells/
> >
> >    The only directory is cells, so the s should be added to cell. So far
> > as I
> > remember, this is what happened with Suse/KDE.
> >
> >    Is there any way to get completion to work?
> >
> > -Graham Petley
> Date: Mon, 14 May 2007 14:52:21 +0200
> From: "Raphael Borg Ellul Vincenti" <[EMAIL PROTECTED]>
> Subject: Re: [LINUX.ORG.MT] Proper command line completion
> To: "Malta Linux User Group - general list" <[email protected]>
> 
> You are probably not using Bash. Ubuntu have lately moved to Dash instead of
> Bash due to speed improvements.
> 
_______________________________________________
MLUG-list mailing list
[email protected]
http://mailserv.megabyte.net/mailman/listinfo/mlug-list

Reply via email to