LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 09-11-2003, 10:00 PM   #1
Imyrryr
Member
 
Registered: Aug 2003
Location: 3rd electron on the left getting mugged by the nutrinos at Quarks
Distribution: Slackware 13.37, Mint
Posts: 138

Rep: Reputation: 17
Question TCSH vs. BASH


I may be really opening up a can of worms here but I'm still trying to understand this. There appears to be two very different (almost a religious following and rivalry) ideas about which is the best or better to use SHELL; either BASH or TCSH.

This may be pointless to this question but maybe I can get some good (in lamens terms) information on the pros and cons of each one of these. When I was first introduced to the world, the person who got me started used TCSH and swore allegiance to it's uses. I'm nowhere near the caliber of user this person was but I've kind of used a bit of both shells and I use different users on my system, one with TCSH and another one that uses BASH, just so I can be familiar with both of them but I'm not familiar enough with the OS on a shell scripting and programming level to appreciate any real difference between the two.

So the bottom line is simply, what are the pros and con with either or both shells? Please if I'm getting ready to start a feud of biblical proportions; please let me know now and I'll retract this thread.
 
Old 09-13-2003, 11:03 AM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
tcsh main features include command line editing, fancy prompts, programmable completions and spelling corrections. To my knowledge its mainly a programmers shell, derived from the csh or C shell.

bash is mainly based off the sh or Bourne Shell. Stands for Bourne Again Shell. It's main features include added features of the Korn Shell and C Shell. To me its a good all round interactive shell and programmer's shell built into one.
You'd have to look into the C Shell and Korn shell features to see what bash has to offer.

Hope this helps some. Really when choosing, its all down to a users choice when using a shell. Bash to me has so much to offer, why not use it. If your not a programmer, I'd say use bash. If your a programmer, use csh or tcsh. Think of bash as an enhanced version of Bourne (sh) and tcsh as an enhanced version of C shell (csh).
 
Old 09-13-2003, 02:19 PM   #3
Imyrryr
Member
 
Registered: Aug 2003
Location: 3rd electron on the left getting mugged by the nutrinos at Quarks
Distribution: Slackware 13.37, Mint
Posts: 138

Original Poster
Rep: Reputation: 17
Lightbulb

Thanks 'trickykid' for the reply; I was beginning to think that I had really asked a bad question; since noone replied to it. That helps a bit. Looks like I've also got a bit of reading up to do to really understand the difference between the two, but I have a good start.

Again thanks for the reply
 
Old 09-13-2003, 03:33 PM   #4
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
No question is necessary awful. I think the one's that go unanswered for a longer bit of time compared to the others are usual questions that to me are real. Its not the typical question with the typical reply. Your question was one you actually had to think about or know about to answer.

Glad I could be of help though.

Regards.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I use tcsh and I have bash ?????? grizos Linux - General 2 11-21-2005 09:50 PM
bash vs tcsh versioning ? puishor Programming 7 08-29-2005 09:29 PM
shell confusion..what is diff between bash, ksh, csh, tcsh..?? servnov Linux - Newbie 7 11-18-2004 08:28 PM
bash equivalence of tcsh "alias em "emacs \!:1 &""? rgiggs Slackware 3 07-29-2004 02:07 AM
bash or tcsh infected Linux - General 2 06-17-2003 12:17 PM


All times are GMT -5. The time now is 12:22 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration