1/27 In TCSH when i type part of a command and do ESC-p, it searches
backwards in the command history and matches and completes the last
command corresponding to the partial command I have typed. When
I do the same thing in BASH, it prints a ":". How do I get the
history-search-backwards/forward in BASH? THANKS!
\_ man bash; Look for the section on Searching.
\_ in bash and zsh, use C-r/C-s for emacs-style reverse/forward
incremental search.
\_ zsh also supports tcsh-style history-search-backward, if you
want that.
\_ Don't listen to these heathen. tcsh is the One True Shell! Bash
is what linux weenies use because, well, uhm, Linus uses it so it
must be the best!
\_ Ranting aside, bash really is quite shitty. There's no real
reason to be running it with all the other options out there.
It tries to be everything to everyone, and ends up being
internally inconsistent.
\_ Bash is the only shell that is useable for interactive
sessions, features a bourne-compatible syntax and ships
by default on Solaris, most Linux distros and MacOS X.
The only other option for interactive sessions is ksh,
which isn't available by default on most Linux distros
and MacOS X. (Before you say just d/l ksh or whatever
other shell, try to keep in mind that some of us have
to use systems where we cannot install/execute software
that isn't approved or isn't part of the default
install, so we have to be familiar with the tools that
are almost always present).
\_ Based on the descriptions online, I'm having trouble
seeing what makes bash interactive and tcsh not and, FTM,
what's the big deal about being interactive. Apologies
for lack of clue.
\_ Could somebody do me a favor and tell me what the word
"interactive" means in this context. Apologies for my
lack of clue but it's not like the thing can talk to you.
\_ Why is it the only one usable?
\_ It doesn't have a builtin spell checker, we know that
from his post, heh.
\_ bourne syntax is better for programming, not for
interactive use.
\_ kinda cool how the pro-bash clone eliminated dozens
of other options as if his opinion was fact. i like
him. he'll do well on the motd.
\_ tcsh has no advantages over bash (save a
memory footprint of ~ 200kB, which is
meaningless these days). The fact that
it uses c-shell syntax is a huge drawback.
Some of us do use if, for, while on the
command line.
\_ tcsh has plenty of advantages over bash;
better interactive syntax, for one.
\_ name some other options that are available by
default on most systems.
\_ tcsh
\_ what part of "cannot install/execute software
that isn't approved or isn't part of the
default install" didn't you understand?
\_ it's not really hard to install your own shell
locally and run it from whatever PoS login
shell you're given (example: bash).
\_ Since Panther, I've been using bash and I don't esp. like
it, but i can't figure out if I don't like it out of
lazyness/acustomedness to tcsh or some other reason.
Which shell do you recommend? zsh?
\_ I would have switched to zsh a long time ago if I wasn't
such a lazy fuck. |