Click to See Complete Forum and Search --> : Shells..... Hmmmm......
RedEyes
02-20-2001, 05:37 AM
So -- Here it is. I've been running Linux for over a year now. (However, until very recently it hasn't been exclusive.. I dumped the whole dual-boot thing, it got on my nerves)
ANYWAY -- When I was in college, our Unix accounts ran under the CSH shell.. The Linux I'm using has CSH but I've always (I guess by default) been running the BASH shell... What's the difference anyway?
I know there are several more shells out there, but I'm really only looking for a difference between those two...
Thanks people !! :)
try man bash and man csh for an in depth comparison of the two, heres the first thing that came up during a search http://www.computerbits.com/archive/19971100/lnx9711.htm
lol... the csh was a mistake it says
X_console
02-20-2001, 08:45 AM
Well for one thing, the syntax for scripting in bash is totally different from that of csh (or in Linux, it's tcsh). For starters, check out your /etc/profile and /etc/csh.login for how different they can be.
Strike
02-20-2001, 01:02 PM
:D bash :D
:mad: csh :mad:
I have to use csh in the ENGR dept boxen as well, AND every machine that gets my account info via YP because chsh only works for local users and ypchsh won't work since the main server doesn't even HAVE bash. I should d/l bash and put it in my home directory and use it from there, but I think that it has to be in /etc/shells to be a valid shell for ypchsh to accept it.
RedEyes
02-21-2001, 06:15 AM
Originally posted by syn:
try man bash and man csh for an in depth comparison of the two, heres the first thing that came up during a search http://www.computerbits.com/archive/19971100/lnx9711.htm
lol... the csh was a mistake it says
Thanks for the link! Quite helpful and informative :)