摘要: 1.创建sh文件 touch hello.sh vi hello.sh 输入i插入 #!/bin/sh echo hello world; 按esc输入:然后输入wq保存退出 增加sh执行权限 chmod 700 hello.sh 有执行权限的文件是绿色的 执行./hello.sh 2.加入定时任务 阅读全文
posted @ 2020-03-30 22:26 liw66 阅读(132) 评论(0) 推荐(0) 编辑