Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-08-2004, 05:24 AM   #1
Registered: Jun 2004
Location: India
Distribution: CLFS
Posts: 515

Rep: Reputation: 36
PATH file location

i'd like to know where is the PATH file stored.Coz I just can't seem to get my system to accept any PATH's.I tried various options like
export PATH

but it just doesn't accept it.What could be the problem.Can I edit the file manually?Please advise.
Old 10-08-2004, 06:34 AM   #2
Registered: Oct 2002
Distribution: MDK 9.2, Debian
Posts: 74

Rep: Reputation: 16
at the console "echo $PATH" will show you all of the folders that are in your PATH, to add more folders to your PATH, just edit your .bashrc file, this is in your home directory. It should look something like this -

[shane@x1-6-00-07-e9-bd-83-cb shane]$ cat .bashrc
# .bashrc

# User specific aliases and functions



alias owndir='find -type d -exec chmod -v 0755 {} \;'
alias ownfiles='find -type f -exec chmod -v 0644 {} \;'
alias m='mc -b'
alias pss='ps -A u'
alias fingerprint='metaflac --show-md5sum'
alias sbecheck='shntool len'

export PATH
export JAVA_HOME

# Source global definitions
if [ -f /etc/bashrc ]; then
        . /etc/bashrc
To add to your path just edit this file and add a path after the ":" part on the "PATH" line. Like this -

1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Path of xinit; window managers location; root's home; frankie_DJ Solaris / OpenSolaris 4 08-02-2005 04:46 AM
how to replace a certain location in a file with a certain value johnson_steve Linux - Software 1 06-22-2005 03:29 AM
How to show your location / path? Echo Kilo Linux - General 2 12-19-2004 02:40 PM
File location problem Wynand1 Linux - Newbie 3 09-15-2004 05:06 AM
PATH Location Odd_Bloke Linux - Newbie 4 08-27-2003 05:17 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:20 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration