linux poison RSS
linux poison Email

HowTo Add PATH

To add or remove a directory in your path, use a text editor to change the shell variable `PATH’ in the `.bashrc’ file in your home directory

For example, suppose the line that defines the `PATH’ variable in your `.bashrc’ file looks like this:

PATH="/usr/bin:/bin:/usr/bin/X11:/usr/games"

You can add the directory `/home/nikesh/bin’ to this path, by editing this line like so:

PATH="/usr/bin:/bin:/usr/bin/X11:/usr/games:/home/nikesh/bin"


0 comments:

Post a Comment

Related Posts with Thumbnails