Re: shell line completion

From: Roger Marquis (not-for-mail@roble.com)
Date: 04/04/03


From: Roger Marquis <not-for-mail@roble.com>
Date: 4 Apr 2003 15:07:01 GMT

Dave Uhring <daveuhring@yahoo.com> wrote:
>> Maybe someone know if/how under Solaris it is possible to get the
>> interactive line completion that is now default for linux? Maybe this
>> can be set as default for all users?
>
>Change your user's shell to /usr/bin/bash or /usr/bin/tcsh. If you want
>the same behavior as Linux then select bash.

Command line completion, metacharacter support, and history recall
are better in tcsh than bash but more shops use bash these days
because of the Bourne shell-like syntax.

It is good to see even newbies using these advanced shell features,
even though it means they are less useful as a sign of an experience.
I still find that Unix admins who don't take advantage or filename
completion, command completion, metacharacter history recall, and
vi or emacs command line editing are also deficient in several other
sysadmin skills.

>DO NOT change root's shell!!

A joke to be sure, but probably warranted in this case. If the
original poster doesn't know the difference between a shell feature
and an operating system feature they probably also don't know how
to do much of anything safely as root.

-- 
Roger Marquis
Roble Systems Consulting
http://www.roble.com/


Relevant Pages

  • Re: [BASH] Shutdown on CPU idle.
    ... and there's not a command in linux for this userfull operation. ... What about bash? ...
    (comp.unix.shell)
  • Hear Ye, Hear Ye (was Re: MC Alternative? (File Managers))
    ... > I run Linux almost exclusively from the command line, ... I asked if anyone knew of a simple and small file manager for the ... don't lecture an experienced bash user on ... I *run* Linux from the commandline, ...
    (comp.os.linux.misc)
  • Hear Ye, Hear Ye (was Re: MC Alternative? (File Managers))
    ... > I run Linux almost exclusively from the command line, ... I asked if anyone knew of a simple and small file manager for the ... don't lecture an experienced bash user on ... I *run* Linux from the commandline, ...
    (comp.unix.questions)
  • Re: Learning the console book
    ... Do you mean the command line? ... The default shell in Linux is Bash, ... For Bash, you want to look at the HOWTOs, ... but the abs-guide (Advanced Bash Scripting Guide) is about 560 pages of very ...
    (alt.linux)
  • Re: Re: 1/2 dozenth request over 3-years
    ... Pure Linux command line login, ... available one and it's modem. ... assortment of 16 terminals and old XT's to hook those in. ...
    (Ubuntu)