<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>猪在笑 &#187; Linux</title>
	<atom:link href="http://www.huangwei.me/blog/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.huangwei.me/blog</link>
	<description>暇时吃紧，忙里偷闲</description>
	<lastBuildDate>Thu, 19 Jan 2012 01:59:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>分享1个Linux命令lsof</title>
		<link>http://www.huangwei.me/blog/2011/08/17/lsof-and-fuser/</link>
		<comments>http://www.huangwei.me/blog/2011/08/17/lsof-and-fuser/#comments</comments>
		<pubDate>Wed, 17 Aug 2011 05:06:09 +0000</pubDate>
		<dc:creator>c4pr1c3</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[安全技术]]></category>

		<guid isPermaLink="false">http://www.huangwei.me/blog/?p=444</guid>
		<description><![CDATA[今天微博上看到一篇文章，叫做《<a href="http://linuxtoy.org/archives/10-linux-commands-youve-never-used.html" target="_blank">你从未用过的 10 条 Linux 命令？</a>》，原文也不长，转过来也不费事。

== 以下内容是转载，版权归原作者所有 ==
这 10 条 Linux 命令依次是：

pgrep：比如，你可以使用 pgrep -u root 来代替 ps -ef &#124; egrep[......]<p class='read-more'><a href='http://www.huangwei.me/blog/2011/08/17/lsof-and-fuser/'>Read more</a></p>]]></description>
			<content:encoded><![CDATA[<div style="margin-top: 2px;">
<a href="http://creativecommons.org/licenses/by/3.0/deed.zh"><strong>版权声明</strong></a><strong>：可以任意转载，转载时请务必以超链接形式标明文章原始出处和<a href="http://www.huangwei.me/blog/">作者信息</a></strong>
</div>
<p>今天微博上看到一篇文章，叫做《<a href="http://linuxtoy.org/archives/10-linux-commands-youve-never-used.html" target="_blank">你从未用过的 10 条 Linux 命令？</a>》，原文也不长，转过来也不费事。</p>
<p>== 以下内容是转载，版权归原作者所有 ==<br />
这 10 条 Linux 命令依次是：</p>
<p>pgrep：[......]
<p class='read-more'><a href='http://www.huangwei.me/blog/2011/08/17/lsof-and-fuser/'>Read more</a></p>
<div  class="related_post_title">您可能还对以下文章感兴趣</div><ul class="related_post"><li><a href="http://www.huangwei.me/blog/2010/08/02/sniffer-with-perl-pcap/" title="[CodeSnippet]Perl抓包分析之DNS debug">[CodeSnippet]Perl抓包分析之DNS debug</a></li><li><a href="http://www.huangwei.me/blog/2010/08/02/ssh-security-harden/" title="SSH安全加固一二三">SSH安全加固一二三</a></li><li><a href="http://www.huangwei.me/blog/2010/05/30/simple-ddos-detection/" title="简单几条命令检测DDoS攻击">简单几条命令检测DDoS攻击</a></li><li><a href="http://www.huangwei.me/blog/2010/01/30/%e7%a0%b4%e8%a7%a3%e5%90%88%e8%82%a5%e7%94%b5%e4%bf%a1%e7%9a%84adsl%e7%8c%ab%e4%b8%8a%e7%bd%91%e9%99%90%e5%88%b6/" title="破解合肥电信的ADSL猫上网限制">破解合肥电信的ADSL猫上网限制</a></li><li><a href="http://www.huangwei.me/blog/2007/03/20/obacktrack-2oaiec-2/" title="[原创]BackTrack 2硬盘安装笔记">[原创]BackTrack 2硬盘安装笔记</a></li><li><a href="http://www.huangwei.me/blog/2011/02/06/cert-secure-coding-standard/" title="[译]CERT Secure Coding Standard — C语言安全编程规范(5)">[译]CERT Secure Coding Standard — C语言安全编程规范(5)</a></li><li><a href="http://www.huangwei.me/blog/2011/02/06/cert-secure-coding-standard-4/" title="[译]CERT Secure Coding Standard — C语言安全编程规范(4)">[译]CERT Secure Coding Standard — C语言安全编程规范(4)</a></li><li><a href="http://www.huangwei.me/blog/2011/02/05/cert-secure-coding-standard-3/" title="[译]CERT Secure Coding Standard — C语言安全编程规范(3)">[译]CERT Secure Coding Standard — C语言安全编程规范(3)</a></li><li><a href="http://www.huangwei.me/blog/2011/02/04/cert-secure-coding-standard-2/" title="[译]CERT Secure Coding Standard — C语言安全编程规范(2)">[译]CERT Secure Coding Standard — C语言安全编程规范(2)</a></li><li><a href="http://www.huangwei.me/blog/2011/02/03/cert-secure-coding-standard-1/" title="[译]CERT Secure Coding Standard — C语言安全编程规范(1)">[译]CERT Secure Coding Standard — C语言安全编程规范(1)</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.huangwei.me/blog/2011/08/17/lsof-and-fuser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux C/C++编程FAQ系列 之四</title>
		<link>http://www.huangwei.me/blog/2010/12/06/linux-c-programming-faq-4/</link>
		<comments>http://www.huangwei.me/blog/2010/12/06/linux-c-programming-faq-4/#comments</comments>
		<pubDate>Mon, 06 Dec 2010 13:20:38 +0000</pubDate>
		<dc:creator>c4pr1c3</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[c-faq]]></category>
		<category><![CDATA[cppfaq]]></category>
		<category><![CDATA[faq]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.huangwei.me/blog/?p=791</guid>
		<description><![CDATA[<p><a href="#_toc_4_1_">如何对文件“加锁”</a></p>

<p><a href="#_toc_4_2_">查看Linux下可以同时打开的最大文件描述符数</a></p>

<p><a href="#_toc_4_3_">查看select()所支持的最大文件描述符监视数目</a></p>

<p><a href="#_toc_4_4_">提高select()机制实现的并发服务程序的并发连接数限制</a></p>

<p><a href="#_toc_4_5_">Linux临时文件操作相关的C API</a></p>

<p><br class="spacer_" /></p>

<h2><a name="_toc_4_1_"></a>如何对文件“加锁”</h2>

<p>(1)使用ope[......]</p><p class='read-more'><a href='http://www.huangwei.me/blog/2010/12/06/linux-c-programming-faq-4/'>Read more</a></p>]]></description>
			<content:encoded><![CDATA[<div style="margin-top: 2px;">
<a href="http://creativecommons.org/licenses/by/3.0/deed.zh"><strong>版权声明</strong></a><strong>：可以任意转载，转载时请务必以超链接形式标明文章原始出处和<a href="http://www.huangwei.me/blog/">作者信息</a></strong>
</div>
<p><a href="#_toc_4_1_">如何对文件“加锁”</a></p>
<p><a href="#_toc_4_2_">查看Linux下可以同时打开的最大文件描述符数</a></p>
<p><a href="#_toc_4_3_">查看select()所支持的最大文件描述符监视数目</a></p>
<p><a href="#_toc_4_4_">提高select()机制实现的并发服务程序的并发连接数限制</a></p>
<p><a href="#_toc_4_5_">Linux临时[......]</a></p>
<p class='read-more'><a href='http://www.huangwei.me/blog/2010/12/06/linux-c-programming-faq-4/'>Read more</a></p>
<div  class="related_post_title">您可能还对以下文章感兴趣</div><ul class="related_post"><li><a href="http://www.huangwei.me/blog/2010/11/28/linux-c-programming-faq-3/" title="Linux C/C++编程FAQ系列 之三">Linux C/C++编程FAQ系列 之三</a></li><li><a href="http://www.huangwei.me/blog/2010/11/17/linux-c-programming-faq-2/" title="Linux C/C++编程FAQ系列 之二">Linux C/C++编程FAQ系列 之二</a></li><li><a href="http://www.huangwei.me/blog/2010/11/16/linux-c-programming-faq-1/" title="Linux C/C++编程FAQ系列 之一">Linux C/C++编程FAQ系列 之一</a></li><li><a href="http://www.huangwei.me/blog/2010/11/30/improve-vim-javascript-edit/" title="增强vim的js语法高亮和代码阅读能力">增强vim的js语法高亮和代码阅读能力</a></li><li><a href="http://www.huangwei.me/blog/2010/08/02/perl-gtk2-libnotify/" title="[CodeSnippet]Perl实现Gtk任务栏的消息提示">[CodeSnippet]Perl实现Gtk任务栏的消息提示</a></li><li><a href="http://www.huangwei.me/blog/2009/06/07/ubuntu%e5%b0%8f%e6%8a%80%e5%b7%a7%e7%b3%bb%e5%88%97%e4%b9%8b%e4%ba%8cprogramming-in-c-from-scratch/" title="[Ubuntu小技巧系列之二]programming in C from scratch">[Ubuntu小技巧系列之二]programming in C from scratch</a></li><li><a href="http://www.huangwei.me/blog/2011/08/17/lsof-and-fuser/" title="分享1个Linux命令lsof">分享1个Linux命令lsof</a></li><li><a href="http://www.huangwei.me/blog/2011/04/06/new-to-mac-2/" title="苹果小白的上手笔记(2)">苹果小白的上手笔记(2)</a></li><li><a href="http://www.huangwei.me/blog/2011/02/06/cert-secure-coding-standard/" title="[译]CERT Secure Coding Standard — C语言安全编程规范(5)">[译]CERT Secure Coding Standard — C语言安全编程规范(5)</a></li><li><a href="http://www.huangwei.me/blog/2011/02/06/cert-secure-coding-standard-4/" title="[译]CERT Secure Coding Standard — C语言安全编程规范(4)">[译]CERT Secure Coding Standard — C语言安全编程规范(4)</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.huangwei.me/blog/2010/12/06/linux-c-programming-faq-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>增强vim的js语法高亮和代码阅读能力</title>
		<link>http://www.huangwei.me/blog/2010/11/30/improve-vim-javascript-edit/</link>
		<comments>http://www.huangwei.me/blog/2010/11/30/improve-vim-javascript-edit/#comments</comments>
		<pubDate>Tue, 30 Nov 2010 11:28:04 +0000</pubDate>
		<dc:creator>c4pr1c3</dc:creator>
				<category><![CDATA[CodeSnippet]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Vim]]></category>
		<category><![CDATA[ctags]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[firefox扩展开发]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.huangwei.me/blog/?p=750</guid>
		<description><![CDATA[<p><span style="font-family: 'times new roman', times">vim默认是可以支持javascript源代码的语法高亮，vim的Taglist插件也可以对javascript代码进行关键信息提取，但实际用于开发时总觉得不够给力。具体表现在哪些方面呢？</span></p>
<ol>
<li><span style="font-family: 'times new roman', times">vim无法对OOP风格的函数定义进行语法高亮</span></li>
<li><span style="font-family: 'times new roman', times">vim默认不识别.jsm为Javascript</span></li>
<li><span style="font-family: 'times new roman', times">Tag[......]</span></li></ol><p class='read-more'><a href='http://www.huangwei.me/blog/2010/11/30/improve-vim-javascript-edit/'>Read more</a></p>]]></description>
			<content:encoded><![CDATA[<div style="margin-top: 2px;">
<a href="http://creativecommons.org/licenses/by/3.0/deed.zh"><strong>版权声明</strong></a><strong>：可以任意转载，转载时请务必以超链接形式标明文章原始出处和<a href="http://www.huangwei.me/blog/">作者信息</a></strong>
</div>
<p><span style="font-family: 'times new roman', times">vim默认是可以支持javascript源代码的语法高亮，vim的Taglist插件也可以对javascript代码进行关键信息提取，但实际用于开发时总觉得不够给力。具体表现在哪些方面呢？</span></p>
<ol>
<li><span style="font-family: 'times new roman', times">vim无法对OOP风格[......]</span></li>
</ol>
<p class='read-more'><a href='http://www.huangwei.me/blog/2010/11/30/improve-vim-javascript-edit/'>Read more</a></p>
<div  class="related_post_title">您可能还对以下文章感兴趣</div><ul class="related_post"><li><a href="http://www.huangwei.me/blog/2010/06/29/vim-xul-cscope/" title="用vim和cscope构建xul代码阅读的环境">用vim和cscope构建xul代码阅读的环境</a></li><li><a href="http://www.huangwei.me/blog/2010/07/21/debug-ffextension-with-chromebug/" title="Firefox扩展调试的新方法">Firefox扩展调试的新方法</a></li><li><a href="http://www.huangwei.me/blog/2010/12/06/linux-c-programming-faq-4/" title="Linux C/C++编程FAQ系列 之四">Linux C/C++编程FAQ系列 之四</a></li><li><a href="http://www.huangwei.me/blog/2010/12/03/js-interview-test/" title="4道js面试题">4道js面试题</a></li><li><a href="http://www.huangwei.me/blog/2010/11/28/linux-c-programming-faq-3/" title="Linux C/C++编程FAQ系列 之三">Linux C/C++编程FAQ系列 之三</a></li><li><a href="http://www.huangwei.me/blog/2010/08/04/firefox-extension-install-bug/" title="Firefox扩展安装时来源域检查bug一枚">Firefox扩展安装时来源域检查bug一枚</a></li><li><a href="http://www.huangwei.me/blog/2010/08/02/perl-gtk2-libnotify/" title="[CodeSnippet]Perl实现Gtk任务栏的消息提示">[CodeSnippet]Perl实现Gtk任务栏的消息提示</a></li><li><a href="http://www.huangwei.me/blog/2010/07/23/mozilla-chrome-registration/" title="Firefox扩展开发之chrome注册机制">Firefox扩展开发之chrome注册机制</a></li><li><a href="http://www.huangwei.me/blog/2010/03/24/firefox-autoproxy-pac-bug-fix/" title="[原创]非官方修复Firefox自动代理配置脚本bug的方法">[原创]非官方修复Firefox自动代理配置脚本bug的方法</a></li><li><a href="http://www.huangwei.me/blog/2009/12/26/%e5%88%86%e4%ba%ab-vim%e5%b0%8f%e6%8a%80%e5%b7%a7%e5%87%a0%e5%88%99/" title="[分享] Vim小技巧几则">[分享] Vim小技巧几则</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.huangwei.me/blog/2010/11/30/improve-vim-javascript-edit/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Linux C/C++编程FAQ系列 之三</title>
		<link>http://www.huangwei.me/blog/2010/11/28/linux-c-programming-faq-3/</link>
		<comments>http://www.huangwei.me/blog/2010/11/28/linux-c-programming-faq-3/#comments</comments>
		<pubDate>Sun, 28 Nov 2010 09:44:15 +0000</pubDate>
		<dc:creator>c4pr1c3</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[c-faq]]></category>
		<category><![CDATA[faq]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.huangwei.me/blog/?p=734</guid>
		<description><![CDATA[<p><a href="#_toc_3_1_">如何使用core dump文件来定位程序出错位置和出错信息？</a></p>

<p><a href="#_toc_3_2_">编译时找不到名为 foo.h 的头文件？</a></p>

<p><a href="#_toc_3_3_">我明明已经包含了 foo.h, 怎么编译时还报 undefined reference to 'foo'?</a></p>

<p><a href="#_toc_3_4_">想看下 Linux 下一些命令的源码，找不到</a></p>

<p><a href="#_toc_3_5_">如何找到某个命令是[......]</a></p><p class='read-more'><a href='http://www.huangwei.me/blog/2010/11/28/linux-c-programming-faq-3/'>Read more</a></p>]]></description>
			<content:encoded><![CDATA[<div style="margin-top: 2px;">
<a href="http://creativecommons.org/licenses/by/3.0/deed.zh"><strong>版权声明</strong></a><strong>：可以任意转载，转载时请务必以超链接形式标明文章原始出处和<a href="http://www.huangwei.me/blog/">作者信息</a></strong>
</div>
<p><a href="#_toc_3_1_">如何使用core dump文件来定位程序出错位置和出错信息？</a></p>
<p><a href="#_toc_3_2_">编译时找不到名为 foo.h 的头文件？</a></p>
<p><a href="#_toc_3_3_">我明明已经包含了 foo.h, 怎么编译时还报 undefined reference to &#8216;foo[......]</a></p>
<p class='read-more'><a href='http://www.huangwei.me/blog/2010/11/28/linux-c-programming-faq-3/'>Read more</a></p>
<div  class="related_post_title">您可能还对以下文章感兴趣</div><ul class="related_post"><li><a href="http://www.huangwei.me/blog/2010/12/06/linux-c-programming-faq-4/" title="Linux C/C++编程FAQ系列 之四">Linux C/C++编程FAQ系列 之四</a></li><li><a href="http://www.huangwei.me/blog/2010/11/17/linux-c-programming-faq-2/" title="Linux C/C++编程FAQ系列 之二">Linux C/C++编程FAQ系列 之二</a></li><li><a href="http://www.huangwei.me/blog/2010/11/16/linux-c-programming-faq-1/" title="Linux C/C++编程FAQ系列 之一">Linux C/C++编程FAQ系列 之一</a></li><li><a href="http://www.huangwei.me/blog/2010/11/30/improve-vim-javascript-edit/" title="增强vim的js语法高亮和代码阅读能力">增强vim的js语法高亮和代码阅读能力</a></li><li><a href="http://www.huangwei.me/blog/2010/08/02/perl-gtk2-libnotify/" title="[CodeSnippet]Perl实现Gtk任务栏的消息提示">[CodeSnippet]Perl实现Gtk任务栏的消息提示</a></li><li><a href="http://www.huangwei.me/blog/2009/06/07/ubuntu%e5%b0%8f%e6%8a%80%e5%b7%a7%e7%b3%bb%e5%88%97%e4%b9%8b%e4%ba%8cprogramming-in-c-from-scratch/" title="[Ubuntu小技巧系列之二]programming in C from scratch">[Ubuntu小技巧系列之二]programming in C from scratch</a></li><li><a href="http://www.huangwei.me/blog/2011/08/17/lsof-and-fuser/" title="分享1个Linux命令lsof">分享1个Linux命令lsof</a></li><li><a href="http://www.huangwei.me/blog/2011/04/06/new-to-mac-2/" title="苹果小白的上手笔记(2)">苹果小白的上手笔记(2)</a></li><li><a href="http://www.huangwei.me/blog/2011/02/06/cert-secure-coding-standard/" title="[译]CERT Secure Coding Standard — C语言安全编程规范(5)">[译]CERT Secure Coding Standard — C语言安全编程规范(5)</a></li><li><a href="http://www.huangwei.me/blog/2011/02/06/cert-secure-coding-standard-4/" title="[译]CERT Secure Coding Standard — C语言安全编程规范(4)">[译]CERT Secure Coding Standard — C语言安全编程规范(4)</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.huangwei.me/blog/2010/11/28/linux-c-programming-faq-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GoogleChrome的多线程文件下载方法</title>
		<link>http://www.huangwei.me/blog/2010/11/19/chrome-multithreaded-download/</link>
		<comments>http://www.huangwei.me/blog/2010/11/19/chrome-multithreaded-download/#comments</comments>
		<pubDate>Fri, 19 Nov 2010 08:43:28 +0000</pubDate>
		<dc:creator>c4pr1c3</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[纯净水]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[chrome扩展]]></category>
		<category><![CDATA[chromium]]></category>
		<category><![CDATA[multithreaded download]]></category>
		<category><![CDATA[多线程下载]]></category>

		<guid isPermaLink="false">http://www.huangwei.me/blog/?p=725</guid>
		<description><![CDATA[<p>我承认这是一篇灌水，我也承认这是一个典型的标题党。</p>

<p>Chrome虽然目前发展态势喜人，性能优异，但不可回避的是，其辅助下载扩展方面距离Firefox的DownThemAll还是差着几条街的。今天查了一下Google官方的扩展库中的下载扩展：<a href="https://chrome.google.com/extensions/search?itemlang=&#38;hl=en&#38;q=download">https://chrome.google.com/e[......]</a></p><p class='read-more'><a href='http://www.huangwei.me/blog/2010/11/19/chrome-multithreaded-download/'>Read more</a></p>]]></description>
			<content:encoded><![CDATA[<div style="margin-top: 2px;">
<a href="http://creativecommons.org/licenses/by/3.0/deed.zh"><strong>版权声明</strong></a><strong>：可以任意转载，转载时请务必以超链接形式标明文章原始出处和<a href="http://www.huangwei.me/blog/">作者信息</a></strong>
</div>
<p>我承认这是一篇灌水，我也承认这是一个典型的标题党。</p>
<p>Chrome虽然目前发展态势喜人，性能优异，但不可回避的是，其辅助下载扩展方面距离Firefox的DownThemAll还是差着几条街的。今天查了一下Googl[......]</p>
<p class='read-more'><a href='http://www.huangwei.me/blog/2010/11/19/chrome-multithreaded-download/'>Read more</a></p>
<div  class="related_post_title">您可能还对以下文章感兴趣</div><ul class="related_post"><li><a href="http://www.huangwei.me/blog/2010/07/23/mozilla-chrome-registration/" title="Firefox扩展开发之chrome注册机制">Firefox扩展开发之chrome注册机制</a></li><li><a href="http://www.huangwei.me/blog/2008/09/03/google-chrome%e7%9a%84%e7%ac%ac%e4%b8%80%e4%b8%aaexploit/" title="Google Chrome的第一个Exploit">Google Chrome的第一个Exploit</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.huangwei.me/blog/2010/11/19/chrome-multithreaded-download/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux C/C++编程FAQ系列 之二</title>
		<link>http://www.huangwei.me/blog/2010/11/17/linux-c-programming-faq-2/</link>
		<comments>http://www.huangwei.me/blog/2010/11/17/linux-c-programming-faq-2/#comments</comments>
		<pubDate>Wed, 17 Nov 2010 13:38:47 +0000</pubDate>
		<dc:creator>c4pr1c3</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[c-faq]]></category>
		<category><![CDATA[faq]]></category>

		<guid isPermaLink="false">http://www.huangwei.me/blog/?p=716</guid>
		<description><![CDATA[<p><a href="#_toc_2_1_">创建和使用静态库文件(.a)</a></p>
<p><a href="#_toc_2_2_">创建和使用共享链接库文件(.so)</a></p>
<p><a href="#_toc_2_3_">检查可执行文件中的所有共享库文件的依赖是否可以正确的找到</a></p>
<p><a href="#_toc_2_4_">查看ld的搜索路径</a></p>
<p><a href="#_toc_2_5_">为何在程序出现段错误等严重内存错误时系统无法生成core dump文件？</a></p>
<p><br class="spacer_" /></p>
<h2><a name="_toc_2_1_"></a> 创建和使用静态库文件(.a)</h2>
<p><strong>step 1: 将源代码编译成ob[......]</strong></p><p class='read-more'><a href='http://www.huangwei.me/blog/2010/11/17/linux-c-programming-faq-2/'>Read more</a></p>]]></description>
			<content:encoded><![CDATA[<div style="margin-top: 2px;">
<a href="http://creativecommons.org/licenses/by/3.0/deed.zh"><strong>版权声明</strong></a><strong>：可以任意转载，转载时请务必以超链接形式标明文章原始出处和<a href="http://www.huangwei.me/blog/">作者信息</a></strong>
</div>
<p><a href="#_toc_2_1_">创建和使用静态库文件(.a)</a></p>
<p><a href="#_toc_2_2_">创建和使用共享链接库文件(.so)</a></p>
<p><a href="#_toc_2_3_">检查可执行文件中的所有共享库文件的依赖是否可以正确的找到</a></p>
<p><a href="#_toc_2_4_">查看ld的搜索路径</a></p>
<p><a href="#_toc_2_5_">为何在程序出现段错误等严重内存错误时系统无法生成core dump[......]</a></p>
<p class='read-more'><a href='http://www.huangwei.me/blog/2010/11/17/linux-c-programming-faq-2/'>Read more</a></p>
<div  class="related_post_title">您可能还对以下文章感兴趣</div><ul class="related_post"><li><a href="http://www.huangwei.me/blog/2010/12/06/linux-c-programming-faq-4/" title="Linux C/C++编程FAQ系列 之四">Linux C/C++编程FAQ系列 之四</a></li><li><a href="http://www.huangwei.me/blog/2010/11/28/linux-c-programming-faq-3/" title="Linux C/C++编程FAQ系列 之三">Linux C/C++编程FAQ系列 之三</a></li><li><a href="http://www.huangwei.me/blog/2010/11/16/linux-c-programming-faq-1/" title="Linux C/C++编程FAQ系列 之一">Linux C/C++编程FAQ系列 之一</a></li><li><a href="http://www.huangwei.me/blog/2011/08/17/lsof-and-fuser/" title="分享1个Linux命令lsof">分享1个Linux命令lsof</a></li><li><a href="http://www.huangwei.me/blog/2010/11/30/improve-vim-javascript-edit/" title="增强vim的js语法高亮和代码阅读能力">增强vim的js语法高亮和代码阅读能力</a></li><li><a href="http://www.huangwei.me/blog/2010/11/15/svn-post-commit-send-mails/" title="svn post-commit hook应用之自动群发邮件">svn post-commit hook应用之自动群发邮件</a></li><li><a href="http://www.huangwei.me/blog/2010/10/27/bash_shortcuts_mindmap/" title="Bash快捷键的思维导图">Bash快捷键的思维导图</a></li><li><a href="http://www.huangwei.me/blog/2010/10/20/productive-compiz-more-efficient/" title="实用化你的compiz以提高工作效率">实用化你的compiz以提高工作效率</a></li><li><a href="http://www.huangwei.me/blog/2010/09/22/post-install-lucid-todo/" title="安装完Ubuntu 10.04后该做的几件事情">安装完Ubuntu 10.04后该做的几件事情</a></li><li><a href="http://www.huangwei.me/blog/2010/08/30/nautilus-scripts-mount-iso/" title="nautilus脚本应用实例之二：右键菜单挂载/卸载ISO">nautilus脚本应用实例之二：右键菜单挂载/卸载ISO</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.huangwei.me/blog/2010/11/17/linux-c-programming-faq-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux C/C++编程FAQ系列 之一</title>
		<link>http://www.huangwei.me/blog/2010/11/16/linux-c-programming-faq-1/</link>
		<comments>http://www.huangwei.me/blog/2010/11/16/linux-c-programming-faq-1/#comments</comments>
		<pubDate>Tue, 16 Nov 2010 10:00:39 +0000</pubDate>
		<dc:creator>c4pr1c3</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[c-faq]]></category>
		<category><![CDATA[cpp-faq]]></category>
		<category><![CDATA[faq]]></category>

		<guid isPermaLink="false">http://www.huangwei.me/blog/?p=689</guid>
		<description><![CDATA[<p>这个FAQ系列的基础是我之前所带的一个Linux下C开发项目的内部Wiki，在可以预期的一段时间内，我仍将在Linux C/C++开发项目管理和培训上持续实践着。所以，我决定在我的blog上定期更新这个FAQ，方便所有Linux C/C++开发新手和进阶选手的快速学习和查阅。</p>
<ol>
<li><a href="#_h2_1_">man手册页的阅[......]</a></li></ol><p class='read-more'><a href='http://www.huangwei.me/blog/2010/11/16/linux-c-programming-faq-1/'>Read more</a></p>]]></description>
			<content:encoded><![CDATA[<div style="margin-top: 2px;">
<a href="http://creativecommons.org/licenses/by/3.0/deed.zh"><strong>版权声明</strong></a><strong>：可以任意转载，转载时请务必以超链接形式标明文章原始出处和<a href="http://www.huangwei.me/blog/">作者信息</a></strong>
</div>
<p>这个FAQ系列的基础是我之前所带的一个Linux下C开发项目的内部Wiki，在可以预期的一段时间内，我仍将在Linux C/C++开发项目管理和培训上持续实践着。所以，我决定在我的blog上定期更新这个FAQ，方便所有[......]</p>
<p class='read-more'><a href='http://www.huangwei.me/blog/2010/11/16/linux-c-programming-faq-1/'>Read more</a></p>
<div  class="related_post_title">您可能还对以下文章感兴趣</div><ul class="related_post"><li><a href="http://www.huangwei.me/blog/2010/12/06/linux-c-programming-faq-4/" title="Linux C/C++编程FAQ系列 之四">Linux C/C++编程FAQ系列 之四</a></li><li><a href="http://www.huangwei.me/blog/2010/11/28/linux-c-programming-faq-3/" title="Linux C/C++编程FAQ系列 之三">Linux C/C++编程FAQ系列 之三</a></li><li><a href="http://www.huangwei.me/blog/2010/11/17/linux-c-programming-faq-2/" title="Linux C/C++编程FAQ系列 之二">Linux C/C++编程FAQ系列 之二</a></li><li><a href="http://www.huangwei.me/blog/2011/08/17/lsof-and-fuser/" title="分享1个Linux命令lsof">分享1个Linux命令lsof</a></li><li><a href="http://www.huangwei.me/blog/2010/11/30/improve-vim-javascript-edit/" title="增强vim的js语法高亮和代码阅读能力">增强vim的js语法高亮和代码阅读能力</a></li><li><a href="http://www.huangwei.me/blog/2010/11/15/svn-post-commit-send-mails/" title="svn post-commit hook应用之自动群发邮件">svn post-commit hook应用之自动群发邮件</a></li><li><a href="http://www.huangwei.me/blog/2010/10/27/bash_shortcuts_mindmap/" title="Bash快捷键的思维导图">Bash快捷键的思维导图</a></li><li><a href="http://www.huangwei.me/blog/2010/10/20/productive-compiz-more-efficient/" title="实用化你的compiz以提高工作效率">实用化你的compiz以提高工作效率</a></li><li><a href="http://www.huangwei.me/blog/2010/09/22/post-install-lucid-todo/" title="安装完Ubuntu 10.04后该做的几件事情">安装完Ubuntu 10.04后该做的几件事情</a></li><li><a href="http://www.huangwei.me/blog/2010/08/30/nautilus-scripts-mount-iso/" title="nautilus脚本应用实例之二：右键菜单挂载/卸载ISO">nautilus脚本应用实例之二：右键菜单挂载/卸载ISO</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.huangwei.me/blog/2010/11/16/linux-c-programming-faq-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>svn post-commit hook应用之自动群发邮件</title>
		<link>http://www.huangwei.me/blog/2010/11/15/svn-post-commit-send-mails/</link>
		<comments>http://www.huangwei.me/blog/2010/11/15/svn-post-commit-send-mails/#comments</comments>
		<pubDate>Mon, 15 Nov 2010 14:57:40 +0000</pubDate>
		<dc:creator>c4pr1c3</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[post-commit]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.huangwei.me/blog/?p=683</guid>
		<description><![CDATA[在小团队应用开发时，我们喜欢在每次有用户commit更改时，自动通过SMTP发送邮件的方式来通知所有的开发人员。在没有自己实际动手配置这个应用时，我的第一反应就是通过svn的post-commit机制来实现，所以一直觉得应该是一个<strong>easy job</strong>。

<span style="font-size: xx-large"><strong>But...</strong></span>

实际动手后发现，有<span style="font-size: x-large"><strong><span style="color: #ff0000">bug[......]</span></strong></span><p class='read-more'><a href='http://www.huangwei.me/blog/2010/11/15/svn-post-commit-send-mails/'>Read more</a></p>]]></description>
			<content:encoded><![CDATA[<div style="margin-top: 2px;">
<a href="http://creativecommons.org/licenses/by/3.0/deed.zh"><strong>版权声明</strong></a><strong>：可以任意转载，转载时请务必以超链接形式标明文章原始出处和<a href="http://www.huangwei.me/blog/">作者信息</a></strong>
</div>
<p>在小团队应用开发时，我们喜欢在每次有用户commit更改时，自动通过SMTP发送邮件的方式来通知所有的开发人员。在没有自己实际动手配置这个应用时，我的第一反应就是通过svn的post-commit机制来实现，所以一直觉[......]
<p class='read-more'><a href='http://www.huangwei.me/blog/2010/11/15/svn-post-commit-send-mails/'>Read more</a></p>
<div  class="related_post_title">您可能还对以下文章感兴趣</div><ul class="related_post"><li><a href="http://www.huangwei.me/blog/2010/10/20/productive-compiz-more-efficient/" title="实用化你的compiz以提高工作效率">实用化你的compiz以提高工作效率</a></li><li><a href="http://www.huangwei.me/blog/2010/09/22/post-install-lucid-todo/" title="安装完Ubuntu 10.04后该做的几件事情">安装完Ubuntu 10.04后该做的几件事情</a></li><li><a href="http://www.huangwei.me/blog/2010/08/30/nautilus-scripts-mount-iso/" title="nautilus脚本应用实例之二：右键菜单挂载/卸载ISO">nautilus脚本应用实例之二：右键菜单挂载/卸载ISO</a></li><li><a href="http://www.huangwei.me/blog/2010/08/30/gnome-nautilus-scripts-meld/" title="nautilus脚本应用实例之一：用meld比较选中的文件或文件夹">nautilus脚本应用实例之一：用meld比较选中的文件或文件夹</a></li><li><a href="http://www.huangwei.me/blog/2010/08/27/wangwang-linux-im/" title="无需安装阿里旺旺即可聊天的方法">无需安装阿里旺旺即可聊天的方法</a></li><li><a href="http://www.huangwei.me/blog/2010/08/02/perl-gtk2-libnotify/" title="[CodeSnippet]Perl实现Gtk任务栏的消息提示">[CodeSnippet]Perl实现Gtk任务栏的消息提示</a></li><li><a href="http://www.huangwei.me/blog/2010/08/02/sniffer-with-perl-pcap/" title="[CodeSnippet]Perl抓包分析之DNS debug">[CodeSnippet]Perl抓包分析之DNS debug</a></li><li><a href="http://www.huangwei.me/blog/2010/07/29/qemu-vmware-conflict/" title="[已验证]qemu和vmware冲突">[已验证]qemu和vmware冲突</a></li><li><a href="http://www.huangwei.me/blog/2010/02/20/ubuntu-keyboard-shortcuts/" title="Ubuntu中你可能不知道的一些有用的键盘快捷键">Ubuntu中你可能不知道的一些有用的键盘快捷键</a></li><li><a href="http://www.huangwei.me/blog/2010/01/10/linux%e4%b8%8bpptp-vpn-3%e5%88%86%e9%92%9f%e5%bf%ab%e9%80%9f%e9%85%8d%e7%bd%ae/" title="Linux下PPTP VPN 3分钟快速配置">Linux下PPTP VPN 3分钟快速配置</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.huangwei.me/blog/2010/11/15/svn-post-commit-send-mails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GnuPG快速入门教程汇编</title>
		<link>http://www.huangwei.me/blog/2010/10/25/gnupg-quickstart/</link>
		<comments>http://www.huangwei.me/blog/2010/10/25/gnupg-quickstart/#comments</comments>
		<pubDate>Mon, 25 Oct 2010 05:39:46 +0000</pubDate>
		<dc:creator>c4pr1c3</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[安全技术]]></category>
		<category><![CDATA[GnuPG]]></category>
		<category><![CDATA[GPG]]></category>
		<category><![CDATA[PKI]]></category>
		<category><![CDATA[加密]]></category>
		<category><![CDATA[数字签名]]></category>

		<guid isPermaLink="false">http://www.huangwei.me/blog/?p=653</guid>
		<description><![CDATA[这个话题的开启缘于最近对团队成员的GPG使用辅导，但Google后发现百度的<a href="http://blog.liancheng.info/" target="_blank">Lian Cheng</a>的博客上已经写了一篇非常完整和细致的<a href="http://blog.liancheng.info/?p=338" target="_blank">GPG教程</a>，那我干脆就把我找到的一些比较好的关于GnuPG入门的链接整理一下，汇编于此吧。

<strong> 1. 最轻松的GnuPG入门教程（严重推荐阅读）</strong>

<a href="http://blog.liancheng.info/?p=338">http:/[......]</a><p class='read-more'><a href='http://www.huangwei.me/blog/2010/10/25/gnupg-quickstart/'>Read more</a></p>]]></description>
			<content:encoded><![CDATA[<div style="margin-top: 2px;">
<a href="http://creativecommons.org/licenses/by/3.0/deed.zh"><strong>版权声明</strong></a><strong>：可以任意转载，转载时请务必以超链接形式标明文章原始出处和<a href="http://www.huangwei.me/blog/">作者信息</a></strong>
</div>
<p>这个话题的开启缘于最近对团队成员的GPG使用辅导，但Google后发现百度的<a href="http://blog.liancheng.info/" target="_blank">Lian Cheng</a>的博客上已经写了一篇非常完整和细致的<a href="http://blog.liancheng.info/?p=338" target="_blank">GPG教程</a>，那我干脆就把我找到的一些比较好的关于GnuPG入门的链接整理一下，汇编于此[......]
<p class='read-more'><a href='http://www.huangwei.me/blog/2010/10/25/gnupg-quickstart/'>Read more</a></p>
<div  class="related_post_title">您可能还对以下文章感兴趣</div><ul class="related_post"><li><a href="http://www.huangwei.me/blog/2011/08/17/lsof-and-fuser/" title="分享1个Linux命令lsof">分享1个Linux命令lsof</a></li><li><a href="http://www.huangwei.me/blog/2011/02/06/cert-secure-coding-standard/" title="[译]CERT Secure Coding Standard — C语言安全编程规范(5)">[译]CERT Secure Coding Standard — C语言安全编程规范(5)</a></li><li><a href="http://www.huangwei.me/blog/2011/02/06/cert-secure-coding-standard-4/" title="[译]CERT Secure Coding Standard — C语言安全编程规范(4)">[译]CERT Secure Coding Standard — C语言安全编程规范(4)</a></li><li><a href="http://www.huangwei.me/blog/2011/02/05/cert-secure-coding-standard-3/" title="[译]CERT Secure Coding Standard — C语言安全编程规范(3)">[译]CERT Secure Coding Standard — C语言安全编程规范(3)</a></li><li><a href="http://www.huangwei.me/blog/2011/02/04/cert-secure-coding-standard-2/" title="[译]CERT Secure Coding Standard — C语言安全编程规范(2)">[译]CERT Secure Coding Standard — C语言安全编程规范(2)</a></li><li><a href="http://www.huangwei.me/blog/2011/02/03/cert-secure-coding-standard-1/" title="[译]CERT Secure Coding Standard — C语言安全编程规范(1)">[译]CERT Secure Coding Standard — C语言安全编程规范(1)</a></li><li><a href="http://www.huangwei.me/blog/2011/01/20/build-your-own-vulnerable-web-application/" title="自己动手搭建缺陷Web App">自己动手搭建缺陷Web App</a></li><li><a href="http://www.huangwei.me/blog/2011/01/14/invisible-captcha-to-defeat-spam/" title="invisible CAPTCHA to defeat spam">invisible CAPTCHA to defeat spam</a></li><li><a href="http://www.huangwei.me/blog/2010/11/05/security-as-a-slogan-2-0/" title="以安全的名义 2.0">以安全的名义 2.0</a></li><li><a href="http://www.huangwei.me/blog/2010/10/13/embed-script-inside-gif/" title="在GIF图片中隐藏任意脚本的方法">在GIF图片中隐藏任意脚本的方法</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.huangwei.me/blog/2010/10/25/gnupg-quickstart/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>实用化你的compiz以提高工作效率</title>
		<link>http://www.huangwei.me/blog/2010/10/20/productive-compiz-more-efficient/</link>
		<comments>http://www.huangwei.me/blog/2010/10/20/productive-compiz-more-efficient/#comments</comments>
		<pubDate>Wed, 20 Oct 2010 06:53:23 +0000</pubDate>
		<dc:creator>c4pr1c3</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[compiz]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.huangwei.me/blog/?p=638</guid>
		<description><![CDATA[<p>一提到compiz，很多人的第一反应就是：“特效”。是的，compiz是一个很好的界面美化和特效辅助工具。有了compiz，Linux桌面用户可以不再羡慕Windows 7的Aero特效，不必艳羡于Mac的华丽。有了compiz，Linux桌面也可以很炫，Linux应用程序窗口也可以很酷。今天我要介[......]</p><p class='read-more'><a href='http://www.huangwei.me/blog/2010/10/20/productive-compiz-more-efficient/'>Read more</a></p>]]></description>
			<content:encoded><![CDATA[<div style="margin-top: 2px;">
<a href="http://creativecommons.org/licenses/by/3.0/deed.zh"><strong>版权声明</strong></a><strong>：可以任意转载，转载时请务必以超链接形式标明文章原始出处和<a href="http://www.huangwei.me/blog/">作者信息</a></strong>
</div>
<p>一提到compiz，很多人的第一反应就是：“特效”。是的，compiz是一个很好的界面美化和特效辅助工具。有了compiz，Linux桌面用户可以不再羡慕Windows 7的Aero特效，不必艳羡于Mac的华丽。有了c[......]</p>
<p class='read-more'><a href='http://www.huangwei.me/blog/2010/10/20/productive-compiz-more-efficient/'>Read more</a></p>
<div  class="related_post_title">您可能还对以下文章感兴趣</div><ul class="related_post"><li><a href="http://www.huangwei.me/blog/2010/11/15/svn-post-commit-send-mails/" title="svn post-commit hook应用之自动群发邮件">svn post-commit hook应用之自动群发邮件</a></li><li><a href="http://www.huangwei.me/blog/2010/09/22/post-install-lucid-todo/" title="安装完Ubuntu 10.04后该做的几件事情">安装完Ubuntu 10.04后该做的几件事情</a></li><li><a href="http://www.huangwei.me/blog/2010/08/30/nautilus-scripts-mount-iso/" title="nautilus脚本应用实例之二：右键菜单挂载/卸载ISO">nautilus脚本应用实例之二：右键菜单挂载/卸载ISO</a></li><li><a href="http://www.huangwei.me/blog/2010/08/30/gnome-nautilus-scripts-meld/" title="nautilus脚本应用实例之一：用meld比较选中的文件或文件夹">nautilus脚本应用实例之一：用meld比较选中的文件或文件夹</a></li><li><a href="http://www.huangwei.me/blog/2010/08/27/wangwang-linux-im/" title="无需安装阿里旺旺即可聊天的方法">无需安装阿里旺旺即可聊天的方法</a></li><li><a href="http://www.huangwei.me/blog/2010/08/02/perl-gtk2-libnotify/" title="[CodeSnippet]Perl实现Gtk任务栏的消息提示">[CodeSnippet]Perl实现Gtk任务栏的消息提示</a></li><li><a href="http://www.huangwei.me/blog/2010/08/02/sniffer-with-perl-pcap/" title="[CodeSnippet]Perl抓包分析之DNS debug">[CodeSnippet]Perl抓包分析之DNS debug</a></li><li><a href="http://www.huangwei.me/blog/2010/07/29/qemu-vmware-conflict/" title="[已验证]qemu和vmware冲突">[已验证]qemu和vmware冲突</a></li><li><a href="http://www.huangwei.me/blog/2010/02/20/ubuntu-keyboard-shortcuts/" title="Ubuntu中你可能不知道的一些有用的键盘快捷键">Ubuntu中你可能不知道的一些有用的键盘快捷键</a></li><li><a href="http://www.huangwei.me/blog/2010/01/10/linux%e4%b8%8bpptp-vpn-3%e5%88%86%e9%92%9f%e5%bf%ab%e9%80%9f%e9%85%8d%e7%bd%ae/" title="Linux下PPTP VPN 3分钟快速配置">Linux下PPTP VPN 3分钟快速配置</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.huangwei.me/blog/2010/10/20/productive-compiz-more-efficient/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

