07 2014 档案

shell 引号
摘要:shell 中的三引号相当于一个空字符串和一个单独的引号比较:#! /bin/bash"""exec" echo xx "xx"#! /bin/bash"exec" echo "xx" xx 阅读全文

posted @ 2014-07-20 09:52 阿加

rpm的用法
摘要:http://www.360doc.com/content/13/0614/10/7312479_292751402.shtml 阅读全文

posted @ 2014-07-14 18:29 阿加

suse安装 jdk_se
摘要:参考: suselinks.us/install-oracle-sun-java-1-7-opensuse-12-2/http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html安装:1 sud... 阅读全文

posted @ 2014-07-14 18:29 阿加

suse br0
摘要:刚装上网络,结果不能用无线。ping 下终端,结果发现在ping 192.168.1.1时,将会转发到192.168.1.7;使用ifconfig,发现192.168.1.7是br0,可能是我装了qemu,结果导致在系统启动时开启了网桥,解决办法:yast---->Network Settings-... 阅读全文

posted @ 2014-07-14 18:28 阿加

shell trap 信号
摘要:trap 捕捉命令,并执行相应的工作。1、trap "" signal-list 忽略该信号2、trap '-' signal-list 恢复信号的默认操作3、trap 'commands' signal-list trap "commands" signal-list4、在trap中可以定义对信号... 阅读全文

posted @ 2014-07-14 18:27 阿加

shell 字符串
摘要:使用 -z:字符串长度位0时,为真;使用 -n : 字符串长度不为0时,为真;看八个示例,以及其执行结果#! /bin/bashmystr=""if [ -n ${mystr} ]then echo "xx"${mystr}"gg"else echo "gg"${mystr}"xx"... 阅读全文

posted @ 2014-07-14 18:24 阿加

nmap 查询本网段所有已被使用IP
摘要:参考:http://www.startos.com/linux/tips/2010120612971.htmlhttp://zhan.renren.com/fedoralinux?gid=3602888498000901414&from=template&checked=truehttp://blo... 阅读全文

posted @ 2014-07-14 13:20 阿加

导航