As far as linux shells go, which ones do you guys prefer? I use bash on my Redhat machine, but I've heard ksh, bsh, and ssh also rock. What are the differences?
I've always been a fan of bash myself. zsh was interesting, but not enough to change my mind.
What's so different about zsh? Does it have a different syntax or just other cool commands?
Used to use korn shell (on SunOS)... and also tcsh (FBSD)... but for the last year I use bash (linux) mostly.. I do miss FBSD though... it's probably still my favorite, but for certain reasons I use linux more now...
zsh is.. well, just google and you'll find loads of info
but here is the zsh faq...
http://www.faqs.org/faqs/unix-faq/shell/zsh/
TCSH on BSD/Linux and usually BASH on Solaris...
I really like TCSH...
BASH
Thanks for the link Metty, there's a whole section on exactly what I wanted to know about bash, csh, and tcsh. bash is even cooler than I thought! rock on!! 8)
No problem
I do enjoy the bugs section in the man page for bash....
"It's too big and too slow."
But it's still a nice shell if you ask me.
cmd.exe! fsck *sh!
nah, I don't care as long as it isnt sh....
Wilnix
No one for command.com? That's strange...
I'm very new to linux. I've only used liveCD so far and out of the hand full I have tried SLAX (Kill Bill Edition) is my favorite. But that my just be because the only thing I've known up till now is Windows and Slax make the transfer over easy.
I think that csh is the best, as it allows C syntax in scripts.
I prefer bash, however. i m used to it ;)
Best is relative anyway. :)
I do love C but from a language perspective, not a shell. Thankfully there is no C++sh
haha
ok.. maybe it wouldn't be so bad.. in fact...
Hey Ben.. maybe you'd like to tackle the task of a C++ shell ? :)
(yes, that's an inside joke that he should get but maybe no one else)
Quote from: Metgod on May 09, 2006, 07:43:45 PM
Thankfully there is no C++sh
lol ;D
i don't know why, but i generally hate object-oriented programming. I prefer old, pure C code..
Me too. But, I did recently admit that it does have it's advantages, but at the cost of overhead. I guess it's a matter of style. I just don't prefer OOP. But I have been tempted to learn it one of these days... but haven't yet because I'm too busy working with C.
OOP!!
what about it ? do you agree it's bloated ? finally!
I can remember myself some years ago (maybe 3 or 4) writing VisualBasic and thinking that this is real programming.. after that, i learned Java and thought that vb was not real OOP, just MS bullsh*t..
2 Years ago i started with C. and thats the end of my story :D i shall remain in this..
You should try perl, it rocks the free world and then some. ;D
Neah.. I think Link3 has the idea. C is much nicer, end of story. And for those who like OOP, there is a book on doing OOP in C.. I might have it but not 100% certain on that part.
Lots of alternatives to Perl, also.
Of course, each language has it's strengths and weaknesses, and what to use can depend on what kind of programming you're doing and what kind of task is necessary. C is great for most things (although some would say mostly system programming, I guess it depends on how you look at it). PERL may be for something else (but it's still a messy language! -- well, that is, at least the look of a perl script).
I wouldn't restrict my programming to C if I had more time.. the real idea is to figure out every language possible, since then you can choose what's best for the specific task and system.
I still prefer C over all the other languages though...