Beginner Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsOtherBeginner Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 16th, 2000, 11:45 AM
telathos telathos is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2000
Location: Canton, Oh, USA
Posts: 10 telathos User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to telathos
I'm running Redhat Linux 6.2 and I'm trying to set my path, but I'm not sure how. I'm also not sure what shell I'm running. I tried adding to /root/.cshrc but that didn't work. Also I'm telneting to the server.

Reply With Quote
  #2  
Old September 25th, 2000, 07:51 AM
JSchoof JSchoof is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Posts: 82 JSchoof User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 23 m 46 sec
Reputation Power: 13

You sorta need to know what shell you are using. Then you set the PATH in the shell resource file in your home directory:

bash: /home/you/.profile OR .login
tcsh: /home/you/.tcshrc OR .cshrc
csh: /home/you/.cshrc

and so forth

Reply With Quote
  #3  
Old September 25th, 2000, 09:10 AM
telathos telathos is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2000
Location: Canton, Oh, USA
Posts: 10 telathos User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to telathos
How do you find out what shell you are using?

Reply With Quote
  #4  
Old September 25th, 2000, 05:16 PM
yomamma yomamma is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2000
Posts: 6 yomamma User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
i think you just type ps to see which programs are running. one of them should be your shell, right?

[This message has been edited by yomamma (edited September 25, 2000).]

Reply With Quote
  #5  
Old September 25th, 2000, 05:19 PM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
All Redhat use bash as a default shell. If you haven't changed to another, then bash is your current shell.

Reply With Quote
  #6  
Old September 26th, 2000, 07:10 AM
telathos telathos is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2000
Location: Canton, Oh, USA
Posts: 10 telathos User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to telathos
Thanks. I found out that in the /etc/passwd file you can define the shell and I am using bash.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherBeginner Programming > Setting Path

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap