我一直在走,至少还有条路,也好于无路可走…
发布时间:2013-07-20 14:03:49
1. 设置静态IP地址为 192.168.4.88/255.255.255.0 并启动网络2. 截取/etc/hosts文件内的ip地址3. 过滤静态IP地址192.168.4.884. 判断静态IP地址与hosts文件内的IP地址,如果匹配则输出 hello world 否则将输出 Error !! #!/bin/bash##guyingsed -e 's/BOOTPROTO=dhcp/BOOTPROTO=static/g' /etc/sysconfig/networ.........【阅读全文】
发布时间:2013-07-20 14:00:15
#!/bin/bash#guying chuliwenjian#=====================touch file =========if [ -d /shared ];thenecho the shared is in your systemelsemkdir /sharedfifor i in {1..140}dotouch /shared/share$iecho 1004xcbtpk22m >/shared/share$idone#==============replace cbt Aixfor b in {1..140}doadd=`sed .........【阅读全文】
发布时间:2013-07-08 14:17:34
[root@localhost rules.d]# ls05-udev-early.rules 60-raw.rules 90-dm.rules40-multipath.rules 60-wacom.rules 90-hal.rules50-udev.rules 61-uinput-stddev.rules 95-pam-console.rules.........【阅读全文】