1.touch hello.sh 2.vi hello.sh 键入i 插入#!/bin/sh echo hello world; 键入: esc : wq 3.chmod 700 hello.sh 4. 执行./hello.sh
编写简单的linux shell脚本
最新推荐文章于 2023-03-21 22:57:09 发布
1.touch hello.sh 2.vi hello.sh 键入i 插入#!/bin/sh echo hello world; 键入: esc : wq 3.chmod 700 hello.sh 4. 执行./hello.sh