- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- need some help in sh
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2005 02:17 AM
06-28-2005 02:17 AM
i'm little bit confused with the shell starting files
for a example i'm using sh as my shell in this in which file i will keep the shell variables like
stty erase etc
TERM=vt100
for all my telnet clients too
can you just help in this
thank you
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2005 02:20 AM
06-28-2005 02:20 AM
Re: need some help in sh
the $HOME/.profile
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2005 02:26 AM
06-28-2005 02:26 AM
Re: need some help in sh
System wide settings you wish to apply to all users logging on to the system should go in /etc/profile
customized settings for the individual users should be placed in the indiviuals .profile file in their home directory
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2005 02:28 AM
06-28-2005 02:28 AM
Re: need some help in sh
if you want these settings to be specific to a user then set it in $HOME/.profile where $HOME refers to the home directory of the user
if you want this to affect all the users logging in to the system (including root) then set it in /etc/profile which is a global script file which gets executed every time a user logs in
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2005 03:18 AM
06-28-2005 03:18 AM
Re: need some help in sh
I think my way of quetioning is wrong for all other shells like bash csh r ksh have thier own start up scripts like
bshrc,cshrc, and kshrc like that what is for sh.
if i put it on $HOME/.profile or /etc/profile it is comman for all shells i want somw thing specific ofr this sh shell only.
and "stty erase" command i think it wont work if we put it on profile files
i may be wrong... you people may have good reason for telling like this please explain me..
thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2005 03:27 AM
06-28-2005 03:27 AM
Re: need some help in sh
for bash shell i believe it is /etc/bashrc and $HOME/.bash_profile
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2005 03:45 AM
06-28-2005 03:45 AM
Re: need some help in sh
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2005 03:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2005 04:35 AM
06-28-2005 04:35 AM
Re: need some help in sh
i some problem in english too it may be so DCE and Gopi may not be able to get my question.
Gopi and DCE you people are correct but i know for bash shell and env through profile files...
but my question is for sh
thank you Patrik i was having doubt abt ksh also you have cleared all
thaks a lot
bye bye
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2005 05:00 AM
06-28-2005 05:00 AM