Re: [Linux-sunucu] PATH degiskeni

---------

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: Ser As (burak2006@gmail.com)
Date: Tue 09 Aug 2005 - 15:17:20 EEST


vi /etc/profile yazip
 if ! echo ${PATH} |grep -q /usr/X11R6/bin ; then
PATH="$PATH:/usr/X11R6/bin"
fi
satirlarina benzer olarak /etc/tinydns/root altindaki add-ns gibi komutlari
calistirabilmek icin

if ! echo ${PATH} |grep -q /etc/tinydns/root ; then
PATH="$PATH:/etc/tinydns/root"
fi
satirlarini yazdim.
sonra
sh /etc/profile dedim hatta reboot da cektim. Ama
set komutunu yazdigimda PATH degiskeni onceki gibi oldu
zaten add-ns komutunu da calistirdigimda (/etc/tinydns/root altinda)
komutu goremedi.
 Hata nedir.
Not: Bash shellindeyim.

On 8/9/05, Devrim GUNDUZ <devrim@gunduz.org> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> Merhaba,
>
> On Tue, 9 Aug 2005, Ser As wrote:
>
> > Linux'da
> > PATH degiskenine ek bir dizin nasil eklenir.
>
> /etc/profile içine bakabilirsiniz bunun için. Eğer sadece tek bir
> kullanıcı için istiyorsanız bunu, ~/.bashrc içinden de yapabilirsiniz
> istediğinizi.
>
> SAygılar,
>
> - --
> Devrim GUNDUZ
> devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
> http://www.gunduz.org
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.1 (GNU/Linux)
>
> iD8DBQFC+JGOtl86P3SPfQ4RAr0KAKDvaHszEBVeYxsJFLgYfOVzrzJmegCeJBy4
> XGlNyiFrswpTyqRRlGY6zDE=
> =lsI/
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Linux-sunucu mailing list
> Linux-sunucu@liste.linux.org.tr
> http://liste.linux.org.tr/mailman/listinfo/linux-sunucu
>
>
>

_______________________________________________
Linux-sunucu mailing list
Linux-sunucu@liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux-sunucu


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

---------

Bu arsiv hypermail 2.1.2 tarafindan uretilmistir.