èªåç¨ã«ã¡ã¢ãã¦ãã ã³ãã³ãå®è¡ CMD1; CMD2, CMD1 && CMD2 ;ã¯CMD1ã®çµæã«é¢ãããCMD2ãå®è¡ããã &&ã¯CMD1ã®çµæãæ£å¸¸ãªå ´åã®ã¿CMD2ãå®è¡ããã CMD1 || CMD2 - 失ææã«å¾ç¶ã³ãã³ããå®è¡ãã CMD || printf "%b" "MSG"ã§ã¨ã©ã¼ã¡ãã»ã¼ã¸ã表示ãã ã¨ã©ã¼ã¡ãã»ã¼ã¸è¡¨ç¤ºå¾exit 1ãããå ´å = CMD || { printf "%b" "FAILED.\n" ; exit 1 } CMD || printf "%b" "FAILED.\n" ; exit 1ã¨æ³¢æ¬å¼§ç¡ãã§æ¸ãã¨æå¾
éãåä½ããªãï¼CMDãæåæãexit 1ãã¦ãã¾ãï¼ CMD & - ããã¯ã°ã©ã¦ã³ãå®è¡ CMD &ã§[1] 4592ã®ããã«ã¸ã§ãçªå·ã¨ããã»ã¹IDã表示ããã killããããã°kill %ã¸ã§ãçªå· ã kill
{{#tags}}- {{label}}
{{/tags}}