Re: add path's to bash

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

 




This is not really the list for bash queries, but here you go.

 Edit your ~user/.bashrc file.

 Add the following line somewhere:

  export PATH = $PATH:/path/you/want/to/add:/and/another/one (if your new paths contain programs of the same name as other ones in your former path, and you want to use the newer ones, put the $PATH at the end)

Save and exit.
 
 To let it take effect in the current shell, type 'source ~user/.bashrc'. It automatically takes effect for new shells spawned by user 'user'.

-Saugata



"Cristina Rivera" <cris_apricot@xxxxxxxxxxx>
Sent by: kernelnewbies-bounce@xxxxxxxxxxxx

07/21/2004 10:40 AM

       
        To:        kernelnewbies@xxxxxxxxxxxx
        cc:        
        Subject:        add path's to bash



Hello everybody,

I need some simple help, I have to add paths to the environment variable
PATH in bash, I suppose that I have to edit the file .bash_profile so that I
can add the paths I want  but I don't know the way to do it

Which are the steps to follow? Examples?


Thanks,

Cristina.

_________________________________________________________________
Reparaciones, servicios a domicilio, empresas, profesionales... Todo en la
guía telefónica de QDQ. http://qdq.msn.es/msn.cfm


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux