linux 实用shell脚本
使用shell脚本部署服务
使用shell脚本巡检
linux云计算,小希
这个作者很懒,什么都没留下…
展开
-
linux bash脚本
bin/bashthenexitelse!!echo $?exit 3fi。原创 2024-03-21 21:01:13 · 284 阅读 · 0 评论 -
bash脚本 while循环语句
i=5do(( i-- ))donei=9do(( i++ ))donefive 5five 4five 3five 2five 1nine 9nine 10nine 11nine 12。原创 2024-03-07 20:06:43 · 280 阅读 · 0 评论 -
bash脚本 case语句
echo -e "${YELLOW_COLOR}Watermelon 西瓜${RES}"echo -e "${GREEN_COLOR}Blueberry 蓝莓${RES}"echo -e "${RED_COLOR}Strawberry 草莓${RES}"echo -e "${BLUE_COLOR}tangerine 橘子${RES}"Strawberry 草莓。Watermelon 西瓜。Blueberry 蓝莓。tangerine 橘子。原创 2024-03-07 19:41:06 · 561 阅读 · 0 评论 -
case 条件语句
bin/bash1);;2);;[3-9]);;*)exit;esac。原创 2024-03-06 20:36:59 · 162 阅读 · 0 评论