Which shell do you use ?

Which shell do you use?


  • Total voters
    5

SPeedY_B

I may actually be insane.
Joined
31 Mar 2002
Messages
15,807
Just out of curiosity, as some people have a preference on the shell they use, and Apple changed their mind away from TCSH in 10.3 and 10.4 in favour of Bash (although TCSH is still present, of course).
 
Whatever is standard :p. Anything that has tab completion does it for me.

So that includes:
bash
tcsh
csh

On root on FreeBSD boxen you have csh as standard shell. For user it is sh, so i usually rig my login scripts to exec csh. Bash is standard shell for root and user on linux, where they don't have sh, so sh is just a symlink to bash. (which BTW causes a lot of Linux scripts to break under FreeBSD as it is calling the real sh, not bash).

Besides that, i have no preferences.
 
BTW, in Panther bash is standard:

bitesize:~ xistence$ env
SHELL=/bin/bash
bitesize:~ xistence$ tcsh
[bitesize:~] xistence%
 
X-Istence said:
BTW, in Panther bash is standard:

bitesize:~ xistence$ env
SHELL=/bin/bash
bitesize:~ xistence$ tcsh
[bitesize:~] xistence%
Yup, mentioned that in the first post.
 
Well, in my last mac i used bash... in my new mac i will probably still use bash. Quite simply because its default and it works. Is there any pros/cons for the two?
 
Not really. Bash is GPL'ed and TCSH is BSD licensed i believe. That's the only difference.
 
on any machine that I setup I always use tcsh, the exception being on my mac and thats just cause I am too lazy, I will probably change it soon though.

the main reason why I prefer tcsh over bash is history completion

if you type in a command and run it you might want to run it again, in both tcsh and bash from a blank prompt you can press the up arrow until you find it.

if however you type in one character of the command and press up in tcsh or bash they now act differently, bash will just go to your previous command. tcsh on the other hand will use this character to narrow the search of your previous commands, so you will be able to search a smaller subset of your command history for the command you want.

This one thing is the reason why I prefer to use tcsh over bash.
 
Ooh, I didn't know that. Might give tcsh a trial run sometime :)
 

Members online

No members online now.

Latest profile posts

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.

Forum statistics

Threads
62,015
Messages
673,494
Members
5,621
Latest member
naeemsafi
Back