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

[debian-users:55040] Re: PATHについて



$B$3$C$A$KJV?.$9$Y$-$G$7$?!#(B

$B$*@$OC$K$J$C$F$$$^$9!#(Bsahd$B$H8@$$$^$9!#(B

$B4D6-JQ?t(BPATH$B$r%Q!<%9$9$k=hM}$ODI$$$+$1$?$3$H$J$$$N$G$9$,!"(B
$B6uGr$,ESCf$K$"$C$?>l9g$C$FH?1G$5$l$k$s$G$7$g$&$+!)(B

$B$H$j$"$($:!"0lHL%f!<%6$G0J2<$N%3%^%s%I$r

$ PATH=/sbin:${PATH} which ifconfig ; echo $?

ifconfig$B$,0lHL%f!<%6$K /sbin/ifconfig$B$H(B0$B$,=P$k$H;W$$$^$9!#(B

2011/03/06 21:05 "koyo dng" <koyo-dengyo@xxxxxxxxxxxxx>:
>
> $B$*@$OC$K$J$j$^$9!#(B
> PATH$B$K(B/sbin$B$rDI2C$7$?$/$F(B
> /etc/profile$B$K(B
> if [ "`id -u`" -eq 0 ]; then
> PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
> else
> PATH="/usr/local/bin:/usr/bin:/bin:/usr/games:/sbin"
> fi
> $BDI2C$7$F$_$?$s$G$9$,!"H?1G$5$l$^$;$s(B
> $B$=$3$G(B
> ~/.bash_profile$B$K(B
> PATH=$PATH:/sbin
> export $PATH
> $B$rDI2C$7$F$s$G$9$,!"$3$A$i$bH?1G$5$l$^$;$s!#(B
>
> $B$J$<$G$7$g$&$+!)(B
>
>
>