タグ

関連タグで絞り込む (2)

タグの絞り込みを解除

ifに関するflummoxyのブックマーク (1)

  • Introduction to if

    7.1.1. GeneralAt times you need to specify different courses of action to be taken in a shell script, depending on the success or failure of a command. The if construction allows you to specify such conditions. The most compact syntax of the if command is: if TEST-COMMANDS; then CONSEQUENT-COMMANDS; fi The TEST-COMMAND list is executed, and if its return status is zero, the CONSEQUENT-COMMANDS lis

  • 1