shell脚本的一些例子
你可以放在/home/你的hostname/bin下面,给予777权限,无论在哪个目录都可以执行了.
代码:cd ~
mkdir bin
vim script.sh
chmod 777 script.sh