LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 04-10-2005, 09:41 PM   #1
youssefe2k
LQ Newbie
 
Registered: Sep 2003
Posts: 24

Rep: Reputation: 15
Quick Shell Question


hello,

in my home directory i have a .cshrc file and it has some stuff like setting up the path etc ... but i want my default shell to be bash and i dont have root privilages so what i did was i added a bash call at the end of the file ie:

#beginning of .cshrc
.
.
.
#end of .cshrc
bash

but the problem with this is that i have to type in exit twice, once to exit bash and once to exit the orignal shell (tcsh), i was wondering if there is something i could put in the .cshrc file that would exit the shell after the bash call, or if there is a call in bash that would exit the parent script as well?

thanx
youssefe2k
 
Old 04-10-2005, 09:45 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,121

Rep: Reputation: 121Reputation: 121
Why don't you just ask your administrator to make your default shell bash? Probably make the whole process a little more simple.
 
Old 04-10-2005, 09:47 PM   #3
youssefe2k
LQ Newbie
 
Registered: Sep 2003
Posts: 24

Original Poster
Rep: Reputation: 15
hahaha good solution unfortunately not possible but thanx for the reply
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Quick Challange for shell scripters! neocookie Programming 2 09-12-2005 10:13 AM
Quick way to send mail from shell? tobycatlin Linux - General 2 04-27-2005 06:27 AM
Question Concerning ISO's and one quick question. evrae Linux - Software 2 06-21-2004 03:53 AM
samba smb.config question (quick question) TheDOGG Linux - Networking 1 03-02-2004 07:19 AM
I need a quick shell script. 360 Programming 3 03-22-2002 04:44 PM


All times are GMT -5. The time now is 01:09 PM.

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