Ver Mensaje Individual
  #3 (permalink)  
Antiguo 11/02/2010, 12:34
Avatar de maturano
maturano
 
Fecha de Ingreso: enero-2010
Ubicación: /home/
Mensajes: 537
Antigüedad: 14 años, 3 meses
Puntos: 36
Respuesta: Cómo negar condicional IF en bash?

Cita:
Iniciado por neodani Ver Mensaje
Lo intenté con

if ![ -d "$DIR_DESPROVISION" ]; then

Pero sin exito
Lo que quieres negar es la expresión:
Código Bash:
Ver original
  1. if [ ! -d "Directorio" ]; then
  2.     echo "No existe Directorio"
  3. fi
__________________
I ♥ The Music!