Discussion: to edit PATH
Afficher un message
Vieux 21/08/2006, 02h02   #5
Jerry Fleming
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: to edit PATH

virus wrote:
> I'd like to write a script that adds the current directory to the line in .bash_profile.
> I'm not too familiar with sed so , is it possible to do this solely from the bash shell, or can someone suggest a script using sed ?
>
>
> Thanx
> GC
>

Do you mean to add the current dir to your search path? Add a dot at the
end of your path in .bashrc is enough. Do not forget to separate path's
with :
  Réponse avec citation
 
Page generated in 0,09000 seconds with 9 queries