Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Bash and C
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
tcbryan
n00b
n00b


Joined: 25 May 2008
Posts: 10

PostPosted: Sun May 25, 2008 7:55 pm    Post subject: Bash and C Reply with quote

Hello,

Is there a way to have csh, so I can do C in the terminal, but still have BASH as my main shell? Such as having csh to startup and use when needed, and not even be seen otherwise?

Any help would be appreciated, and thanks ahead of time!
Back to top
View user's profile Send private message
tarpman
Veteran
Veteran


Joined: 04 Nov 2004
Posts: 1083
Location: Victoria, BC, Canada

PostPosted: Sun May 25, 2008 9:32 pm    Post subject: Reply with quote

Maybe I've misunderstood what you're asking, but you can always just start csh when you need it:
Code:
csh

_________________
Saving the world, one kilobyte at a time.
Back to top
View user's profile Send private message
tcbryan
n00b
n00b


Joined: 25 May 2008
Posts: 10

PostPosted: Sun May 25, 2008 9:39 pm    Post subject: Reply with quote

So, it won't take over as the 'dominant' shell? And I can start it, and use it when needed without worrying about it replacing or damaging bash?

I just wanted to ask before messing up my system.
Back to top
View user's profile Send private message
tarpman
Veteran
Veteran


Joined: 04 Nov 2004
Posts: 1083
Location: Victoria, BC, Canada

PostPosted: Mon May 26, 2008 12:18 am    Post subject: Reply with quote

Just running it won't change any system settings. You can even set csh or tcsh as your default shell by running chsh:
Code:
chsh -s /bin/tcsh

Then tcsh will be started when you open a terminal, and you can run bash if you need it for something. This won't affect the shell used for system scripts and such, and bash will still be intact and available for use.
_________________
Saving the world, one kilobyte at a time.
Back to top
View user's profile Send private message
tcbryan
n00b
n00b


Joined: 25 May 2008
Posts: 10

PostPosted: Mon May 26, 2008 12:43 am    Post subject: Reply with quote

Ok, thank you!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum