shell脚本的try catch实例{ # try command1 #save your output } || { # catch # save log for exception }docsis-there-a-try-catch-command-in-bash