LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-23-2012, 12:07 PM   #1
KMcKee
LQ Newbie
 
Registered: Oct 2012
Posts: 3

Rep: Reputation: Disabled
Shell question


I am brand new to Linux and I am trying to figure out the difference between Bash and Tcsh shells. It is a question for school, but I am having a very difficult time getting a straight answer. The question is to find some of the aspects of job control which differ between the two shells.
I appreciate any help. I would like to understand it better.
 
Old 10-23-2012, 12:17 PM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
I don't know that much about the c-shell personally, and I wouldn't tell you anyway since it's an assignment , but if I may, I suggest you start by looking up the background history of the two shells. There's quite a bit of difference (in features and syntax) between csh-based shells and bourne-based ones, although there's also a lot of common ground too.

Then simply find the documentation and/or a tutorial or two for each shell, read up on the sections you think are important, and try some of it out.

And while you're at it, you might be interested in this:
http://www.grymoire.com/Unix/CshTop10.txt
 
1 members found this post helpful.
Old 10-23-2012, 12:25 PM   #3
KMcKee
LQ Newbie
 
Registered: Oct 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
David the H... Thank you so much! That's why I said it's for school! It's a research question and being able to actually research it will help a LOT! Thanks again!
 
Old 10-23-2012, 05:29 PM   #4
mreff555
Member
 
Registered: Sep 2011
Location: Philly
Distribution: Gentoo
Posts: 473

Rep: Reputation: Disabled
in addition, if you have access to a linux/unix environment you can install the tcsh and play around with job control yourself. The truth is I couldn't tell you when the last time I used a c shell. I imagine many others will be of the same opinion. Other than the way environment variables are stored I never noticed much of a difference.
 
1 members found this post helpful.
Old 10-23-2012, 06:34 PM   #5
KMcKee
LQ Newbie
 
Registered: Oct 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thank you mreff555. I will try that in lab tomorrow if I have free time!
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
A question about shell (bash shell) thomas2004ch Linux - Newbie 4 08-27-2009 02:09 AM
C-shell question vl.yc.lw Programming 2 12-14-2008 01:32 AM
shell question Rob Pijpers Linux - Newbie 4 08-16-2006 02:12 AM
c(++) shell question karlan Programming 3 09-14-2003 04:07 AM
question about shell jaylee Linux - General 8 06-22-2003 09:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:17 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration