|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
|
|
#1
|
|||
|
|||
|
Hello friends,
I am using Sun OS 5.8. I have a user say "guest" which does not have the root permission. I want to use the facility of "alias" in unix. For this i prefered that all those "alias" will be written in ".kshrc" file and i want to integreat that ".kshrc" file with .profile so that when anybody logged in to the system all the "alias" are to be available from that time. Thanks for the suggestiom Debashis Dutta |
|
#2
|
|||
|
|||
|
have a look to 'man ksh'
pay attention to 'ENV' variable
__________________
working on Solaris[5-9], preferred languages french and C. |
|
#3
|
|||
|
|||
|
Hi,
Thanks for the reply. I set the "ENV" variable in .profile but i have to execute "/bin/ksh" to enable the Ksheel env. Now the problem is, when i want to logout from the system i have to execute to exit commands(probably one for come out from the kshell env and other for logout from the system. Thanks for the help. Quote:
|
|
#4
|
|||
|
|||
|
in your .profile do:
Code:
. ~/.kshrc |
|
#5
|
|||
|
|||
|
Thanks a lot, it's working.
Quote:
|
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > How to implement ".kshrc" under .profile |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|