Advertisement
proper

variables2

Dec 23rd, 2011
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.11 KB | None | 0 0
  1. #!/bin/bash
  2. echo "ingrese una variable:"
  3. read VAR
  4. VAR=${VAR:-valor_por_defecto}
  5. echo "la variable es: $VAR"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement