Sunday, 14 February 2016

Add Environmental (Path) Variable in Linux

1. Open .bashrc file.

      gedit .bashrc

2. Add path in basrc file like this: (In this care our runnable file is in bin directory.)

PATH=/usr/ansys_inc/v162/ansys/bin:$PATH
export PATH


3. Update the environmental.

source .bashrc

Done!




No comments:

Post a Comment