|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Sun / solaris / korn shell : reloading .profile, .kshrc
Well, I could have sworn there was an easy way to do this, but I have looked and looked )-:
How do I, using korn shell on Solaris UNIX, reload my .profile and .kshrc files without logging out and then logging back in. For instance, let's say I add an alias to a file read by .kshrc and I want to use it without having to log out. I tried using source, but it looks like I cannot use source.
__________________
"I'm between quotes right now" |
|
#2
|
|||
|
|||
|
Code:
. .profile The "dot" command was the original "source" command. |
|
#3
|
||||
|
||||
|
Quote:
To add to that, if you don't have your present path in your $PATH and you want to source a local .profile, do: . ./.profile Just know that having "." in your $PATH is a security violation. Regards, jlk |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > Sun / solaris / korn shell : reloading .profile, .kshrc |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|