Adding Path to a Variable in Linux

0
Step 1:

 Go to home directory of user logged in

Step 2: 

ls -lart 
open .bash_profile
add the variable with path details
save

Step3:

Execute the bash_profile as 
./.bash_profile