- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: .kshrc file not working in my unix box
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
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
тАО09-01-2010 01:36 AM
тАО09-01-2010 01:36 AM
.kshrc file not working in my unix box
I acreated a new user in my unix 11.11 box with nis environment.
The .ksrc file is not working and as per our policy we are not using the .profile for few users but .kshrc.
I put few alias in .kshrc but not working.
the set command is giving the data as
ENV=/home/st39410/.kshrc
and I tried export ENV=~/.kshrc
also.
few contents form the file :
aias p="pwd"
alias h="history -50"
alias rquota='quota -g rte-compo'
alias cq="cqstat &"
alias m="filemgr &"
alias xf="xftp &"
alias la="ls -la"
alias p="pwd"
alias h="history -50"
alias dws="session"
Could you pls help me urgently?
Rgds Sree
- Tags:
- kshrc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2010 03:25 AM
тАО09-01-2010 03:25 AM
Re: .kshrc file not working in my unix box
Modify shell for user:
shell --> /home/st39410/.kshrc
# cat /home/st39410/.kshrc
export alias p="pwd"
export alias h="history -50"
export alias rquota='quota -g rte-compo'
export alias cq="cqstat &"
export alias m="filemgr &"
export alias xf="xftp &"
export alias la="ls -la"
export alias p="pwd"
export alias h="history -50"
export alias dws="session"
rgs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2010 03:41 AM
тАО09-01-2010 03:41 AM
Re: .kshrc file not working in my unix box
This not work!
rgs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2010 03:56 AM
тАО09-01-2010 03:56 AM
Re: .kshrc file not working in my unix box
shell --> No modify.
# cat =/home/st39410/.kshrc
alias -x p="pwd"
alias -x h="history -50"
alias -x rquota='quota -g rte-compo'
alias -x cq="cqstat &"
alias -x m="filemgr &"
alias -x xf="xftp &"
alias -x la="ls -la"
alias -x p="pwd"
alias -x h="history -50"
alias -x dws="session"
# cd $HOME/st39410
# mv .profile .profile.old
# ln .kshrc .profile
# chown st39410:groupname .kshrc
# su - st39410
$ env
$ alias
rgs,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2010 05:54 AM
тАО09-01-2010 05:54 AM
Re: .kshrc file not working in my unix box
Thanks for all yours help
Finally the issue is closed by creating a new .profile file with the entry
export ENV=/home/st39410/.kshrc
Now the .kshrc started working well.
thanks again.
Rgds Sree
- Tags:
- env