会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
hello
ywc
博客园
首页
新随笔
联系
管理
订阅
1
2
下一页
2016年2月2日
shell命令例子
摘要: if -d :判断制定的是否为目录 -z:判断制定的变量是否存在值 -f:判断制定的是否为文件 -L:判断制定的是否为符号链接 -r:判断制定的是否可读 -s:判断存在的对象长度是否为0 -w:判断制定的是否可写 -x:判断存在的对象是否可以执行 !:测试条件的否定符号 符号 #$@function
阅读全文
posted @ 2016-02-02 15:25 ywc
阅读(178)
评论(0)
推荐(0)
2016年1月7日
正则表达式
摘要: /vid[ ]?[=|:][ ]?[\"|']([^\"^']*)/ [ ]? n个空格[\"|'] 或([^\"^']*) 非
阅读全文
posted @ 2016-01-07 14:43 ywc
阅读(94)
评论(0)
推荐(0)
2015年12月10日
scp
摘要: scp authorized_keys hadoop@hadoop3:/home/hadoop/.sshscp如果不用密码?
阅读全文
posted @ 2015-12-10 13:47 ywc
阅读(107)
评论(0)
推荐(0)
2015年12月9日
开机启动
摘要: 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
阅读(124)
评论(0)
推荐(0)
sudo
摘要: visudoroot ALL=(ALL) ALLhadoop ALL=(ALL) NOPASSWD: ALL
阅读全文
posted @ 2015-12-09 14:31 ywc
阅读(97)
评论(0)
推荐(0)
2015年12月8日
centos
摘要: 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
阅读(94)
评论(0)
推荐(0)
wget
摘要: http://www.chinaz.com/web/2011/0331/169129.shtml
阅读全文
posted @ 2015-12-08 11:30 ywc
阅读(122)
评论(0)
推荐(0)
CRC校验
摘要: test
阅读全文
posted @ 2015-12-08 10:37 ywc
阅读(139)
评论(0)
推荐(0)
2015年12月7日
Ansible
摘要: test
阅读全文
posted @ 2015-12-07 15:41 ywc
阅读(103)
评论(0)
推荐(0)
2015年4月7日
curl
摘要: 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
阅读(203)
评论(0)
推荐(0)
1
2
下一页
公告