摘要: Shell脚本一般是以sh结尾,比如test.sh,也可以用其他结尾 执行shell脚本: 1. sh test.sh 2. ./test.sh (这个需要给脚本赋予可执行的权限 chmod +x test.sh) 定义变量: name=”test” age=18 class=(“1ban” “2b 阅读全文
posted @ 2023-03-28 16:17 hesperid 阅读(102) 评论(0) 推荐(0) 编辑