[ubuntu-ar] Mi script en Bash

Janus janus at rtfm.org.ar
Wed Feb 6 10:57:13 GMT 2008


On 2/6/08, Diego Gaustein <diego en gaustein.com.ar> wrote:
> 2008/2/5 Juan Bas <juanbas1 en gmail.com>:
> >[..]
> >mucho más preferible usar if [ $UID = 0 ]"
> > me parece que debe faltarle algo, porque no me funciona, [..]
>
> que raro, acá me anda bien
>
> > if [ "$UID" != "0" ]; then
> > [..]

Faltan las comillas.

-- 
Alejandro Díaz-Caro
Homepage: http://www.fceia.unr.edu.ar/~diazcaro
Weblog: http://computacioncuantica.exactas.org



More information about the Ubuntu-ar mailing list