码迷,mamicode.com
首页 >  
搜索关键字:egrep    ( 928个结果
4.创建数据库服务器(MySQL):
创建数据库服务器(MySQL):#optimizationbyonekeysed-i‘s#SELINUX=enforcing#SELINUX=disabled#‘/etc/selinux/configgrepSELINUX=disabled/etc/selinux/configsetenforce0getenforce/etc/init.d/iptablesstop/etc/init.d/iptablesstopchkconfigiptablesoffchkconfig|egrep-v"..
分类:数据库   时间:2017-08-07 01:35:41    阅读次数:256
6.创建web服务器(LAMP):
创建web服务器(LAMP):#optimizationbyonekeysed-i‘s#SELINUX=enforcing#SELINUX=disabled#‘/etc/selinux/configgrepSELINUX=disabled/etc/selinux/configsetenforce0getenforce/etc/init.d/iptablesstop/etc/init.d/iptablesstopchkconfigiptablesoffchkconfig|egrep-v"cron..
分类:Web程序   时间:2017-08-07 01:34:56    阅读次数:295
扩展正则表达式
扩展正则表达式-egrep====grep-E1.1+加号重复前一个字符一次或一次以上正则表达式里面,表示重复,连续出现,贪婪,有多少吃多少,有多少重复多少1.1.1找连续的0egrep-o"0"/oldboy.txtgrep-o"0+"oldboy.txt1.1.2找出a-z的连续字符egrep"[a-z]+"/oldboy.txt1.2|或者实例1-1取出3..
分类:其他好文   时间:2017-08-07 01:30:47    阅读次数:145
7.创建负载均衡服务器lb01:
创建负载均衡服务器lb01:#optimizationbyonekeysed-i‘s#SELINUX=enforcing#SELINUX=disabled#‘/etc/selinux/configgrepSELINUX=disabled/etc/selinux/configsetenforce0getenforce/etc/init.d/iptablesstop/etc/init.d/iptablesstopchkconfigiptablesoffchkconfig|egrep-v"cro..
分类:其他好文   时间:2017-08-07 01:25:25    阅读次数:206
8.创建负载均衡服务器lb02:
创建负载均衡服务器lb02:#optimizationbyonekeysed-i‘s#SELINUX=enforcing#SELINUX=disabled#‘/etc/selinux/configgrepSELINUX=disabled/etc/selinux/configsetenforce0getenforce/etc/init.d/iptablesstop/etc/init.d/iptablesstopchkconfigiptablesoffchkconfig|egrep-v"cron..
分类:其他好文   时间:2017-08-07 01:24:28    阅读次数:221
1.创建管理机:ntp
创建管理机m01:ntp#optimizationbyonekeysed-i‘s#SELINUX=enforcing#SELINUX=disabled#‘/etc/selinux/configgrepSELINUX=disabled/etc/selinux/configsetenforce0getenforce/etc/init.d/iptablesstop/etc/init.d/iptablesstopchkconfigiptablesoffchkconfig|egrep-v"crond|ssh..
分类:其他好文   时间:2017-08-07 01:22:40    阅读次数:156
3.创建NFS服务器:
创建NFS服务器:#optimizationbyonekeysed-i‘s#SELINUX=enforcing#SELINUX=disabled#‘/etc/selinux/configgrepSELINUX=disabled/etc/selinux/configsetenforce0getenforce/etc/init.d/iptablesstop/etc/init.d/iptablesstopchkconfigiptablesoffchkconfig|egrep-v"crond|sshd|n..
分类:其他好文   时间:2017-08-07 01:22:07    阅读次数:151
文件系统总结
计算机基础历史,开源协定文件系统的LHS目录管理、文件管理用户及权限管理Bash基础特性grep,egrep,fgrepvimfind特殊权限和安全上下文脚本编程编程接口硬件规格系统调用库调用API,应用编程接口,面向不同编程接口所写的源码格式,ABI:二进制程序格式java,php,python,shell--&g..
分类:其他好文   时间:2017-08-06 10:41:44    阅读次数:175
Linux基础特性总结之二
计算机基础Linux历史文件管理(查看、处理)目录管理LHS时间戳、时间、关机哲学思想文件命名Bash的基础特性命令行展开命令补全路径补全glob快捷键管道I/O重定向别名hash变量grep,egrep,fgrep变量配置文件算术运算表达式测试表达式退出状态码变量:定义变量名变量数据类型变量类型..
分类:系统相关   时间:2017-08-03 10:05:09    阅读次数:268
egrep小练习
1、显示/proc/meminfo文件中以大写s开头的行,要求使用两种方式2、显示/etc/passwd文件中不以/bin/bash结尾的行3、显示/etc/passwd文件中ID号最大的用户的用户名4、如果root用户存在,显示其默认的shell程序5、显示/etc/passwd文件中两位或三位数6、显示/etc/rc.d/rc.sysinit文..
分类:其他好文   时间:2017-08-01 21:46:02    阅读次数:202
928条   上一页 1 ... 34 35 36 37 38 ... 93 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!