| Line 37: |
Line 37: |
| | ==== if ==== | | ==== if ==== |
| | <source lang="bash"> | | <source lang="bash"> |
| − | #!/bin/bash
| |
| − | if [ "foo" = "foo" ]; then
| |
| − | echo expression evaluated as true
| |
| − | else
| |
| − | echo expresion evaluated as false
| |
| − | fi
| |
| − |
| |
| − | #Condicional con variables
| |
| | #!/bin/bash | | #!/bin/bash |
| | T1="foo" | | T1="foo" |