Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 09-02-2004, 03:29 PM   #1
Registered: Nov 2003
Posts: 788

Rep: Reputation: 39
Adding directories to the PATH statement

Hi there --

I am running Slackware 10.0 with the bash shell being used by root and all users. I would like to add a filesystem to the list of those that are currently shown in the $PATH statement for root an all users. However, I do not see the .bashrc file in anyone's home directory. How would I go about adding the filesystem be automatically included in the $PATH statement of every user whenever the user logs in? Thanks.
Old 09-02-2004, 03:40 PM   #2
Registered: Jun 2004
Location: Nacogdoches, TX
Distribution: Ubuntu 7.04
Posts: 230

Rep: Reputation: 30
The file you want is /etc/profile. Just edit PATH= to include the path that you want.
Old 09-02-2004, 03:57 PM   #3
Registered: Nov 2003
Posts: 788

Original Poster
Rep: Reputation: 39
Thanks for the help. It solved the problem I was having.


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 statement from file granny Linux - Newbie 8 04-21-2005 12:58 PM
please tell me if my path statement is correct on RH 7.3 ergo_sum Linux - Newbie 9 12-12-2003 11:41 PM
PATH statement editing? cottonmouth Linux - General 2 08-17-2003 08:00 PM
What file hold the PATH statement billkris Linux - General 7 02-11-2003 10:30 PM
Need help adding an IF / ELSE statement to my Bash Script Relix Linux - General 1 08-01-2002 02:03 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:48 PM.

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