GNU bash
Jump to navigation
Jump to search
| Command | Comments |
|---|---|
| set -o pipefail | returns error if the pipe fails |
| set -e | exit on the first program fail |
| Command | Comments |
|---|---|
| -d file | file is a directory |
| -n string | the length of string is nonzero |
| string1 != string2 | string1 and string2 are not equal |