Evan Carmichael Top Header about About About facebook Twitter YouTube Google+

How to Modify the Path Variable in Linux/Unix



Free PDF Download
How to Modify the Path Variable in Linux/Unix - By Josh Bellendir

Name: Email:


This tutorial will help the novice Unix/Linux user to be able to set the Path Variable. This can be useful to speed up access to software in the linux environment. Once you have a path added to your path variable, you can then simply type the executive to run the program or filename to open the file. You won't need to specify the full path any longer. To view what your current PATH variable is type the following at the command prompt:

# echo $PATH

This will output the PATH stored in the $PATH variable. If you simply wish to add an additional directory, simply do something like this:

# export PATH=$PATH:/the/directory/you/want/to/add

Then type echo $PATH to view the results and to make sure everything worked out. However, you should know that this is only temporarily set for the current terminal/instance you are logged into. If you want this path to always be set then you will want to edit the.bash_profile file which should be located in your home directory. Edit the.bash_profile with your favorite editor. For example:

#vi /home/myusername/.bash_profile

Find the line that states PATH=$PATH:$HOME/bin or something similar. And then just add whatever directory you want to have included in the path. For example:

PATH=$PATH:$HOME/bin:/usr/local/bin:/export/mycustomerapps

Save the file and you're done. The next time you boot up your Linux box or create a new terminal connection, you will have your path set.


Related Articles

  LEADERS TRAVEL ON THE PATH OF MAKING PATH.
  LEADERS TRAVEL ON THE PATH TO BECOME THE PATH.
  Four Traits Of Effective Team Members
  Variable Rate Mortgage – Choosing the Best Deal
  Variable Incentive Plan: A Motivation & Retention tool
  A pathway to possibility Part Three
  Simulation Setup for MT4 Expert Advisor
  Current Mortgage Rates and Trends – Fixed or Variable?
  Normal distribution in binary options
  Reality Modifier Exercise
  Factors That Influence Variable and Fixed Canadian Mortgage Rates
  Farewell from Benin Mwangi
  The Canadian Mortgage Rules to Protect Yourself from Debt
  Leveraging Video Surveillance and Security for Customer Benefit
  What things make different Magento vs. X-Cart
  Four Ways to Dazzle Your Customers
  What makes a winning FX trading strategy
  Why customer lifetime value is the most important measurement in your business
  Short Tips on the Real Risk of Entrepreneurship
  3 Ways to Put Fresh Spins on Old Marketing Concepts

Home > Business-Coach > Josh Bellendir > How to Modify the Path Variable in LinuxUnix >

Free PDF Download
How to Modify the Path Variable in Linux/Unix - By Josh Bellendir

Name: Email:

About the Author: Josh Bellendir

RSS for Josh's articles - Visit Josh's website
A international businessman currently living in Tokyo, Japan. Born and raised in southern California and have been working in Asia for the past 7 years.

Articles written by Josh R Bellendir, Consultant, http://www.jbellendir.com

For more articles, stories, tutorials, and reviews like these, please check out http://www.jbellendir.com


Click here to visit Josh's website.
Dashed Line

More from Josh Bellendir
Health And Safety For Computer Users
What to do in Seoul Korea in a Weeks Time
How to Modify the Path Variable in LinuxUnix
Getting a Job in Japan Japanese Speaking AbilityWhile Not a Requirement Has Its Advantages
How to Create High Quality Screen Casts for the Web

Related Forum Posts

Re: What Sells Online? Re: What Sells Online?
And the speakers for the Nov 1 event And the speakers for the Nov 1 event
My reading log My reading log
Outsourcing Increased My Productivitiy By 200% Outsourcing Increased My Productivitiy By 200%
Ladies Who Launch Nov 1 event in Washington DC Ladies Who Launch Nov 1 event in Washington DC

Share this article. Fund someone's dream.

Share this post and you'll help support entrepreneurs in Africa through our partnership with Kiva. Over $50,000 raised and counting - Please keep sharing! Learn more.
Share for a Cause
Featured Video


Expert author video by:
Jesse Hopps, Free Small Business Templates



Worksheets
By: Evan Carmichael

Do you have what it takes to be an entrepreneur?

8 Powerful Steps to Finding Your Passion

Does your pitch suck?

Create a plan of attach to launch your new business.

8-Cover

Like this page? PLEASE +1 it! Evan Signature
Bottom Footer



Newsletter

Get advice & tips from famous business
owners, new articles by entrepreneur
experts, my latest website updates, &
special sneak peaks at what's to come!
Name:
Email:
Popular Articles

Five Positive Traits to Enhance Flexibility

Should You Hire a Temp or a Virtual Assistant?

Top Ten Home-Based Businesses

Suggestions

Email us your ideas on how to make our
website more valuable! Thank you Sharon
from Toronto Salsa Lessons / Classes for
your suggestions to make the newsletter
look like the website and profile younger
entrepreneurs like Jennifer Lopez.