dkamdar
asked on
How to run .kshrc
Hi,
I want to run a .kshrc file everytime i login.
I have copied the .kshrc file from my colleague's account.
But the scripts she has written are not executing in my account.
like at the prompt is still remaining
xys%
instead of
myid@hostname in pwd%
I just thought copying the .kshrc file will do it as on login, it is executed.
Do i need to do something else too?
This is Solaris OS. i am connecting remotely from Windows NT using Exceed.
Thanks,
I want to run a .kshrc file everytime i login.
I have copied the .kshrc file from my colleague's account.
But the scripts she has written are not executing in my account.
like at the prompt is still remaining
xys%
instead of
myid@hostname in pwd%
I just thought copying the .kshrc file will do it as on login, it is executed.
Do i need to do something else too?
This is Solaris OS. i am connecting remotely from Windows NT using Exceed.
Thanks,
ASKER
Hi,
it is korn shell thats why i was modifying .kshrc
I found out what the problem was ... i had to export PS1 variable instead of prompt ...
Thanks Anyways
it is korn shell thats why i was modifying .kshrc
I found out what the problem was ... i had to export PS1 variable instead of prompt ...
Thanks Anyways
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I appreciate the points. But, why only a grade of C? Was there something I didn't explain well enough? If so let me know what and I will further explain.
[root@server1 /]# whodo
Fri Nov 12 10:17:05 CST 2004
server1
pts/1 user 10:16
pts/1 934 0:00 sh