1. 建立sh文件
vim hello.sh
2. 编写内容
#!/bin/sh
/opt/jetty/bin/jetty.sh restart
3. 配置访问权限
chmod +x hello.sh
4. 执行文件
./hello.sh
1. 建立sh文件
vim hello.sh
2. 编写内容
#!/bin/sh
/opt/jetty/bin/jetty.sh restart
chmod +x hello.sh
./hello.sh
244

被折叠的 条评论
为什么被折叠?