岚天逸见

06 2011 档案

只显示指定网卡IP地址命令
摘要:export eth=1&&netstat -ie|awk -F'[: ]' 'begin{found=0;} { if (match($0,"eth'"$eth"'")) found=1; else if ((1==found) && match($0,"eth")... 阅读全文

posted @ 2011-06-14 11:17 岚天逸见 阅读(413) 评论(0) 推荐(0) 编辑

Linux上制作可执行的共享库示例
摘要:http://bbs.hadoopor.com/thread-3313-1-1.htmlx.cpp为共享库libx.so的实现,b.cpp为可执行b的实现。x.cpp文件内容:#include #include // 使用C++作为编译器void woo(){ ... 阅读全文

posted @ 2011-06-02 11:11 岚天逸见 阅读(216) 评论(0) 推荐(0) 编辑

导航

统计信息

点击右上角即可分享
微信分享提示