I have installed pip on my Ubuntu 14 server. I have created a ogr2ogr.py file how can i run this file globally by setting environment variable.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
You can add the folder this file is in to your path by adding the following line to the .bashrc or .profile file in your home directory: