undefined

Open Source Your Knowledge, Become a Contributor

Technology knowledge has to be shared and made accessible for free. Join the movement.

Create Content
Previous: Listing Directory Contents Next: Compression in Linux

The PATH Environment Variable

# show path to file matching command ls
which ls
# display PATH variable (note the current directory is the third
# directory in the list below, denoted by the period notation)
echo $PATH
# add the directory /home/joe/bin to PATH
export PATH=$PATH:/home/joe/bin
echo $PATH
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Open Source Your Knowledge: become a Contributor and help others learn. Create New Content