HFX Forum

Operating Systems => Linux => Topic started by: benthehutt on April 14, 2005, 05:55:04 PM

Title: Shell
Post by: benthehutt on April 14, 2005, 05:55:04 PM
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?
Title: Re:Shell
Post by: godaigo on April 14, 2005, 11:49:51 PM
I've always been a fan of bash myself. zsh was interesting, but not enough to change my mind.
Title: Re:Shell
Post by: benthehutt on April 15, 2005, 09:54:28 AM
What's so different about zsh?  Does it have a different syntax or just other cool commands?
Title: Re:Shell
Post by: Metgod on April 15, 2005, 12:51:04 PM
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/

Title: Re:Shell
Post by: Uneek on April 17, 2005, 01:54:33 PM
TCSH on BSD/Linux and usually BASH on Solaris...

I really like TCSH...
Title: Re:Shell
Post by: Cobra on April 20, 2005, 10:51:50 AM
BASH
Title: Re:Shell
Post by: benthehutt on April 20, 2005, 11:22:46 AM
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)
Title: Re:Shell
Post by: Metgod on April 20, 2005, 07:58:57 PM
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.
Title: Re:Shell
Post by: wilnix on August 15, 2005, 03:37:59 AM
cmd.exe! fsck *sh!

nah, I don't care as long as it isnt sh....


Wilnix
Title: Re:Shell
Post by: benthehutt on August 15, 2005, 12:12:25 PM
No one for command.com?  That's strange...
Title: Re:Shell
Post by: digitalmetal on September 25, 2005, 04:08:01 PM
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.
Title: Re:Shell
Post by: Link3 on May 09, 2006, 05:40:40 AM
I think that csh is the best, as it allows C syntax in scripts.

I prefer bash, however. i m used to it  ;)
Title: Re:Shell
Post by: Metgod on May 09, 2006, 07:43:45 PM
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)
Title: Re:Shell
Post by: Link3 on May 10, 2006, 12:31:29 PM
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..
Title: Re:Shell
Post by: Metgod on May 10, 2006, 02:19:55 PM
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.

Title: Re:Shell
Post by: benthehutt on May 10, 2006, 03:35:25 PM
OOP!!
Title: Re:Shell
Post by: Metgod on May 10, 2006, 09:12:50 PM
what about it ? do you agree it's bloated ? finally!
Title: Re:Shell
Post by: Link3 on May 12, 2006, 04:38:40 AM
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..
Title: Re:Shell
Post by: benthehutt on May 12, 2006, 09:58:31 AM
You should try perl, it rocks the free world and then some.  ;D
Title: Re:Shell
Post by: Metgod on May 12, 2006, 11:59:20 AM
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...