摘要: 一 脚本的创建和执行 1. 创建文件*.sh,文件后缀为sh 2. 编辑脚本 首行必须为:#!/bin/bash #指定解释脚本的shell 3. 赋权 chmod u+x a.sh 4. 执行 ./a.sh 二 shell脚本中的变量 1.变量的定义与删除 name="hello" #定义变量=前 阅读全文
posted @ 2016-04-25 23:40 byron_nj 阅读(196) 评论(0) 推荐(0) 编辑
摘要: linux,颜色 阅读全文
posted @ 2016-04-25 23:01 byron_nj 阅读(1003) 评论(0) 推荐(0) 编辑