shell脚本
脚本新建编写
[qms@qmmms ~]$ mkdir bin
[qms@qmmms ~]$ cd bin
[qms@qmmms bin]$ vim HelloWorld.sh#!/bin/bash
echo "Hello World!"
exit 0[qms@qmmms bin]$ chmod 700 HelloWorld.sh
[qms@qmmms bin]$ ll
total 4
-rwx------ 1 qms qms 39 Sep 25 12:30 HelloWorld.sh脚本执行
脚本跟踪和调试
最后更新于