At top of .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."
