- 博客(5)
- 收藏
- 关注
原创 c++11 体验
#include #include #include using namespace std;int main(){ int arry[] = {1,2,3,4,5,6,7,8,9,0,11,12}; std::set one(arry, arry+7); std::set two(arry + 4, arry+12); std:
2013-06-21 12:18:54
464
1
原创 redhat6.3 sabma共享目录在window下无权限访问
chcon -R -t samba_share_t /share_dir-R 递归修改安全上下文类型-t 指定修改安全上下文类型值/share_dir samba共享目录
2013-04-18 08:51:15
421
原创 dup重定向到标准
#include #include #include #include #include using namespace std;int main(){ int fd = open("data", O_CREAT | O_RDWR | O_TRUNC, S_IRUSR | S_IWUSR); if(fd < 0) { perror("op
2013-02-01 09:56:00
200
原创 linux命令记录
1. 多文件内容的查找替换sed -i "s/oldstring/newstring/g" `grep oldstring -rl dir`2.tcpdump 网络抓包tcpdump -Xns0 -i any udp/tcp port-i 指定网卡upd/tcp 协议port 指定端口其他具体选型参考:man tcpdump3. 网络包接受情况(
2012-08-29 08:57:53
294
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人