Updating the KSH Environment To update your ksh environment after making some changes to your ~/.profile from your home directory, ~/ do: . ./.profile That'll refresh the environment. For instance, when you add an alias to your .profile with an editor rather than exporting something the environment which will only last for that session. Just remember that first . It looks a little different than like when you run a script as: ./script.sh but it'll deny you permission to execute if you forget it and just type ./profile