- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sourcing .cshrc
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
Discussions
Discussions
Discussions
Forums
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
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
тАО05-31-2002 07:05 AM
тАО05-31-2002 07:05 AM
On HPUX11 node I have a .cshrc file. However, it is not automatically sourced after I login.
What should I do to make it automatic?
Thanks,
Vlad
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2002 07:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2002 07:10 AM
тАО05-31-2002 07:10 AM
Re: sourcing .cshrc
What is the shell of your user? the file named .cshrc is used with the /usr/bin/csh shell. The posix shell (/usr/bin/sh or /sbin/sh) use the file .profile instead..
Luc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2002 07:18 AM
тАО05-31-2002 07:18 AM
Re: sourcing .cshrc
default shell for the user in /etc/passwd should be csh , and the file should be in the home directory and ofcourse readable.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2002 07:23 AM
тАО05-31-2002 07:23 AM
Re: sourcing .cshrc
What shell are you using. Check the /etc/passwd file and if you want to use C shell then put the /usr/bin/csh in passwd file and then it executes .cshrc during login.
Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2002 07:26 AM
тАО05-31-2002 07:26 AM
Re: sourcing .cshrc
$HOME/.login and $HOME/.cshrc are the startup file for C shell. First .cshrc will read then .login. Check up whether ur .cshrc settings are getting over written by .login or not. Whatever settings U wanted to do, Put it in $HOME/.login file. Then see.
.cshrc will be again read executed in each and every new shells.
Best of luck
Shahul