At top to .profile:
echo "G-day, Mate!!"

Var1="set in .profile"
export Var2="set and exported in .profile"

execute .profile in current shell:
. .profile

In vartest:
echo "Var1 is $Var1."
echo "Var2 is $Var2."
