分类 玩转Linux 中的文章

服务器路由配置–Route

第1章 命令配置 <td style="width: 106.3pt; border-top: solid #999999 1.0pt; border-left: none; border-bottom: solid #666666 1.5pt; border-right: solid #999999 1.0pt; background: #BFBFBF; padding: 0cm 5.4pt 0cm 5.4pt;" width="142"> <p style="text-align: justify; text-justify: inter-ideograph;"> <strong><span style="font-family: '微软雅黑',sans-serif;">网卡配置信息</span></strong> </p> </td> <td style="width: 134.65pt; border-top: solid #999999 1.0pt; border-left: none; border-bottom: solid #666666 1.5pt; border-right: solid #999999 1.0pt; background: #BFBFBF; padding: 0cm 5.4pt 0cm 5.4pt;" width="180"> <p style="text-align: justify; text-justify: inter-ideograph;"> <strong><span style="font-family: '微软雅黑……

阅读全文

awk高级进阶

第1章 awk数组练习题 1.1 文件内容(仅第一行) ==> access.log <== 101.226.61.184 - - [22/Nov/2015:11:02:00 +0800] "GET /mobile/sea-modules/gallery/zepto/1.1.3/zepto.js HTTP/1.1" 200 24662 "http://m.oldboyedu.com.cn/mobile/theme/oldboy/home/index.html" "Mozilla/5.0 (Linux; U; Android 5.1.1; zh-cn; HUAWEI CRR-UL00 Build/HUAWEICRR-UL00) AppleWebKit/533.1 (KHTML, like Gecko)Version/4.0 MQQBrowser/5.4 TBS/025478 Mobile Safari/533.1 MicroMessenger/6.3.7.51_rbb7fa12.660 NetType/3gnet Language/zh_CN" 1.2 统计secure文件中谁在破解你的密码(统计出破解你密码的ip地址出现的次数) 1.2.1 方法一 1.2.2 方法二 1.2.3 结果统计 1.3 统计access.log文件中对ip地址去重并统计重复数 1.4 统……

阅读全文

AWK高端功能-数组

第1章 awk命令基础 1.1 awk命令执行过程 1.2 awk中模式与动作 1.2.1 在awk眼中的行与列 1.3 awk默认有一把“菜刀” -F 指定分隔符 -vFS FS == field sep 每一列的分隔符 OFS ==output field sep 输出每一列的时候使用的分隔符 1.4 awk的内置变量 <td style="width: 9.0cm; border-top: solid white 1.0pt; border-left: none; border-bottom: solid white 1.0pt; border-right: none; background: #9BBB59; padding: 0cm 5.4pt 0cm 5.4pt;" valign="top" width="340"> <p> <strong><span style="font-family: 新宋体; times new roman"4times new roman"; color: whit……

阅读全文

shell编程下 特殊变量、test / [ ]判断、循环、脚本排错

第1章 shell中的特殊变量 1.1 $# 1.1.1 【示例】脚本内容 1.2 $? 1.2.1 【示例】$?的使用 1.3 【了解】编译安装的过程 1.4 如何向变量中存放内容—【read<span style=“font-family: 新宋体; times new roman"4times new roman”;background: aqua;">命令】 1.4.1 read命令使用 1.4.2 让执行命令后出现提示信息 1.4.3 设置等待(超时)的……

阅读全文

磁盘管理之 raid 文件系统 分区

<td width="132" style="width:99.25pt;border-top:solid #4F81BD 1.0pt;border-left:none;border-bottom:solid #4F81BD 1.0pt;border-right:none;background:#4F81BD;padding:0cm 5.4pt 0cm 5.4pt"> <p align="center" style="text-align:center;"> <strong><span style="font-family:新宋体;Times New Roman";Times New Roman";color:white;">数量</span></strong> </p> </td> <td width="180" style="width:134.65pt;border-top:solid #4F81BD 1.0pt;border-left:none;border-bottom:solid #4F81BD 1.0pt;border-right:none;background:#4F81BD;padding:0cm 5.4pt 0cm 5.4pt"> <p align="center" style="text-align:center;"> <strong><span style=&quo……

阅读全文

用户管理上

第1章 查看ip的其他方法 ip 1.1 ip address == ip a 1.2 ip address show eth0 == ip a s eth0 1.3 ip route == ip r 第2章 vi/vim常见的错误 2.1 swap file exist 错误 2.1.1 产生原因 2.1.2 错误信息 2.1.3 解决办法 2.1.4 6.x之前版本解决办法 第3章 用户管理 3.1 用户的分类 3.1.1 两种常用的shell /bin/bash 普通用户默认的命令解释器 /sbin/nologin 傀儡用户虚拟用户使用 3.2 与用户有关的配置文……

阅读全文

企业架构规划及服务器优化参数

第1章 企业 架构规划 1.1 架构图 1.1.1 用户访问网站组成 <td style="width: 177.2pt; border-top-width: 1pt; border-top-color: white; border-left: none; border-bottom-width: 1pt; border-bottom-color: white; border-right: none; background: #9bbb59; padding: 0cm 5.4pt;" valign="top" width="236"> <p class="MsoNormal" style="text-align: center; mso-yfti-cnfc: 1;" align="center"> <strong><span style="font-family: '微软雅黑',sans-serif; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'; color: white; mso-themecolor: background1;">作用</span></strong> </p> </td> <td style="width: 218.25pt; border-top-width: 1pt; border-right-width:……

阅读全文

Linux中常见问题(磁盘 定时任务)

第1章 linux无法上网 2)再ping一个公网ip , 第2章 系统的负载/cpu/内存太高了 第3章 定时任务 3.1 每分钟显示当前系统的日期 年-月-日_小时 ,把这个时间追加到 /tmp/date.log 3.1.1 .先运行命令 3.1.2 命令放入脚本中 3.1.3 测试脚本 3.1.4 写到定时任务 3.1.5 查看你定时任务的执行日历 3.1.6 检查结果 3.2 命令中的sh与bash 第……

阅读全文

Linux中包管理与定时任务

第1章 软件查询 1.1 查询软件是否安装 1.2 查看查询是否正在运行 1.3 安装crond的方法 1.3.1 crond属于哪里 1.3.2 查询软件所属软件包 1.3.3 如何查看软件包里的内容 1.3.4 如何查看一个安装的软件 rpm 如何查询软件包的内容 yum 安装不上的,可能是软件包的一部分 查看 crond 属于哪个软件包,查询时要使用绝对路径 1.4 查询ifconf……

阅读全文