RE: question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 Hi Rudol	f
 Your help was exactly what I wanted.
 Cheers
 Nickolas

-----Original Message-----
From: blinux-list-admin@xxxxxxxxxx [mailto:blinux-list-admin@xxxxxxxxxx]
On Behalf Of rudolf.weeber@xxxxxx
Sent: Monday, August 18, 2003 9:53 PM
To: blinux-list@xxxxxxxxxx
Subject: Re: question

On Mon, Aug 18, 2003 at 09:38:36PM +0300, Nickolas Chryssis wrote:
>  Hi all
>  Which is the command to add a directory in the PATH and which one to
> remove a directory?
There is no Command for that. 
PATH
is a variable. To set A Variable use the command export:
export variable=value.

To access a variable use $variable.
So to add something to the path you can use:
export PATH=$path:/somedir
This is not permanent however. In Debian Linux, the path is ist in
/etc/profile. Other distributions meight do that in /etc/bashrc or
similar. You can edit it, to change th path permanently. 

Hope that helps!
Rudolf




>  My best regards
>  Nickolas
> 
> 
> 
> _______________________________________________
> 
> Blinux-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/blinux-list
> 


-- 
A mathematician is a machine, that converts coffee into theorems.



Rudolf Weeber
Muehlrain 9
70180 Stuttgart
Tel: 0711 62009381
Email: rudolf.weeber@xxxxxx


_______________________________________________

Blinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list


_______________________________________________

Blinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list

[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]