Hla Hla Htay's Notes


Linux : Declaring environment variable
June 11, 2008, 4:36 pm
Filed under: LINUX command | Tags: ,

You know the proverb ‘A picture worths thousand words’. I am lazy bone and sometimes, I want to see “how to do process” very clearly in this way. :D Just see what I have uploaded. I am using WordNet and Weka in my research. I will write about later.

  • VariableName=location of YOUR PROGRAM
  • export VariableName

You have to declare in the file “bashrc” . Below is how to do

  • type “vi .bashrc”
  • press “ESC”
  • press “I” (only when you press “I”, you can type something).
  • declare the location of the file as described in the picture.
  • after that , press “ESC”, shift + ; + q ( quit without saving)
  • press “ESC”, shift + ; + wq ( save and quit)


No Comments Yet so far
Leave a comment



Leave a comment
Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>