not.ion 279 B

1234567891011
  1. not true || echo not true
  2. ! true || echo not true
  3. not false && echo not false
  4. ! false && echo not false
  5. true && not false && echo true and not false
  6. true && ! false && echo true and not false
  7. not test -z "a" && echo not test
  8. ! test -z "a" && echo not test
  9. not echo hello
  10. echo $?