hello
摘要: if -d :判断制定的是否为目录 -z:判断制定的变量是否存在值 -f:判断制定的是否为文件 -L:判断制定的是否为符号链接 -r:判断制定的是否可读 -s:判断存在的对象长度是否为0 -w:判断制定的是否可写 -x:判断存在的对象是否可以执行 !:测试条件的否定符号 符号 #$@function 阅读全文
posted @ 2016-02-02 15:25 ywc 阅读(168) 评论(0) 推荐(0) 编辑
摘要: /vid[ ]?[=|:][ ]?[\"|']([^\"^']*)/ [ ]? n个空格[\"|'] 或([^\"^']*) 非 阅读全文
posted @ 2016-01-07 14:43 ywc 阅读(87) 评论(0) 推荐(0) 编辑
摘要: scp authorized_keys hadoop@hadoop3:/home/hadoop/.sshscp如果不用密码? 阅读全文
posted @ 2015-12-10 13:47 ywc 阅读(100) 评论(0) 推荐(0) 编辑
摘要: chkconfig sshd on[root@localhost~]#vim/etc/ssh/sshd_config修改里面的ClientAliveInterval0之后重启SSHD服务(生产服务器谨慎使用)[root@localhost~]#/etc/init.d/sshdrestart 阅读全文
posted @ 2015-12-09 15:39 ywc 阅读(120) 评论(0) 推荐(0) 编辑
摘要: visudoroot ALL=(ALL) ALLhadoop ALL=(ALL) NOPASSWD: ALL 阅读全文
posted @ 2015-12-09 14:31 ywc 阅读(92) 评论(0) 推荐(0) 编辑
摘要: VMware中为CentOS设置固定IPhttp://www.centoscn.com/CentOS/config/2014/1028/4009.htmlLinux系统\Centos没有网卡eth0配置文件怎么办?http://jingyan.baidu.com/article/84b4f565cb... 阅读全文
posted @ 2015-12-08 14:42 ywc 阅读(90) 评论(0) 推荐(0) 编辑
摘要: http://www.chinaz.com/web/2011/0331/169129.shtml 阅读全文
posted @ 2015-12-08 11:30 ywc 阅读(107) 评论(0) 推荐(0) 编辑
摘要: test 阅读全文
posted @ 2015-12-08 10:37 ywc 阅读(135) 评论(0) 推荐(0) 编辑
摘要: test 阅读全文
posted @ 2015-12-07 15:41 ywc 阅读(99) 评论(0) 推荐(0) 编辑
摘要: curl "https://www.google.com/" -H "accept-encoding: gzip, deflate, sdch" -H "accept-language: zh-CN,zh;q=0.8" -H "user-agent: Mozilla/5.0 (Linux; Andr... 阅读全文
posted @ 2015-04-07 14:17 ywc 阅读(194) 评论(0) 推荐(0) 编辑