标签:linux
1.touch 位置/文件名2.编写脚本内容(注:第一行一定要写这句:#!/bin/sh)3.chmod +x /etc/init.d/redis(变为执行文件)
Linux下创建shell脚本文件
原文地址:http://406647516.blog.51cto.com/2249087/1665568