• 0 Posts
  • 3 Comments
Joined 6か月前
cake
Cake day: 2025年3月27日

help-circle


  • Explanation

    [ is an alias for the program test, so you can call man test for more info.
    && is bash syntax for conjunction. In A && B, B will only be called if A returned a exit code >0 (error). You can call man bash for more info.
    || is bash syntax for disjunction. In A || B, B will only be called if A returned exit code =0 (success). true and false are programs that just return exit codes 0 respectively 1.