PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 25, 2012, 05:07:51 AM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: Path environment variable  (Read 398 times)
slvrsplsh
New Friend
*
Offline Offline

Posts: 1


« on: January 26, 2012, 06:46:03 PM »

Hi All,
I hate to sound like a rank newbie, but here goes. Where will I find the path environment variable?
Thanks,
Dave
Logged
AS
Global Moderator
Hero Member
*****
Offline Offline

Posts: 4111

Have a nice ... night!


« Reply #1 on: January 26, 2012, 08:51:53 PM »

Hi All,
I hate to sound like a rank newbie, but here goes. Where will I find the path environment variable?
Thanks,
Dave

Hi and welcome to PCLinuxOS forum!

The PATH is build up from several files, mostly in /etc/profile.d directory and from file /etc/profile ... possibly others.
If you need to simply add something to your env PATH, probably the best place is ~/.bashrc.
Quote
PATH=$PATH:/home/user/mypath

AS
Logged
djohnston
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 5695


I don't do Windows


« Reply #2 on: January 27, 2012, 12:10:40 AM »

As far as "finding" it, open a terminal, and as regular user, enter:

echo $PATH

The output will show your user's search path.
Logged

Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM