上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 31 下一页
摘要: 网络: 交换机 、 放火墙 、 路由器 cdn openvpn 、 pptp IDC机房选型 TCP 开发: html 、 css 、 js java php pyhon 系统运维: linux系统命令 、shell python DNS 、 NTP varnish lvs 、nginx、 hapr 阅读全文
posted @ 2016-10-06 15:00 xuanhui 阅读(157) 评论(0) 推荐(0) 编辑
摘要: Name,Password nmae:xiaofan,password:1234567890 每个逗号就是一列 阅读全文
posted @ 2016-10-05 15:27 xuanhui 阅读(109) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2016-10-05 15:12 xuanhui 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 举个栗子,大家慢慢体会吧!! eg1: eg2: 阅读全文
posted @ 2016-10-05 14:52 xuanhui 阅读(264) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2016-10-05 13:31 xuanhui 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 函数定义: 数组: 阅读全文
posted @ 2016-10-05 10:55 xuanhui 阅读(110) 评论(0) 推荐(0) 编辑
摘要: case语法: case $arg in arg1) 语句1 ;; arg2) 语句2 ;; *) help 语句 ;; esac eg: eg: 阅读全文
posted @ 2016-10-05 10:21 xuanhui 阅读(349) 评论(0) 推荐(0) 编辑
摘要: for循环: 批量删除.gz结尾的文件: 循环打包文件并备份到一个目录下面: find ./ -maxdepth 1 -name "*.gz" find ./ -maxdepth 1 -d -name "*.gz" 批量传输文件: while循环语法: 条件不满足就退出 [root@linux1 s 阅读全文
posted @ 2016-10-05 10:17 xuanhui 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 测试脚本是否有语法错误: sh -n 脚本名 一、if语句: 二、逻辑运算解析: -f 判断文件是否存在 -d 判断目录是否存在 -eq 判断是否相等 -ne 判断是否不相等 -lt 小于 -ge 大于 -le 小于或等于 -ge 大于或等于 -a 双方成立 -o 单方成立 -z 空字符串 打印菜单 阅读全文
posted @ 2016-10-04 23:53 xuanhui 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 一、简介 shell是用户和操作系统交互的命令行解释器。 shell有很多种: bash、csh、sh、ksh、、、 我们等了linux时看到的命令行就是一个bash。 二、第一个脚本: [root@linux1 script]# vim first.sh #!/bin/bash#auther:xi 阅读全文
posted @ 2016-10-04 23:26 xuanhui 阅读(290) 评论(0) 推荐(0) 编辑
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 31 下一页