Comandos de la terminal/false

De WikiCabal
Saltar a: navegación, buscar

false

[rrc@Llawyr ~]$ true
[rrc@Llawyr ~]$ if [  $? == 0 ]; then echo Verdad; else echo Falso;fi
Verdad

[rrc@Llawyr ~]$ false
[rrc@Llawyr ~]$ if [  $? == 0 ]; then echo Verdad; else echo Falso;fi
Falso