Linux bash fi if..else..fi allows to make choice based on the success or failure of a command. if..else..fi 允许根据命令的成功或失败进行选择. if [ conditional expression ] then statement1 statement2 . fi if [ expression ] then Statement(s) to be executed if expressi…