<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>觀滄海 - Unix</title><link>http://blog.csdn.net/claider/category/144881.aspx</link><description>熟悉unix的一点记录</description><dc:language>zh-CN</dc:language><lastUpdateTime>Tue, 16 Sep 2008 18:21:00 GMT</lastUpdateTime><ttl>60</ttl><item><dc:creator>論壇公德佛</dc:creator><title>连续传送ftp文件的shell基本格式，</title><link>http://blog.csdn.net/claider/archive/2008/09/16/2937495.aspx</link><pubDate>Tue, 16 Sep 2008 18:19:00 GMT</pubDate><guid>http://blog.csdn.net/claider/archive/2008/09/16/2937495.aspx</guid><wfw:comment>http://blog.csdn.net/claider/comments/2937495.aspx</wfw:comment><comments>http://blog.csdn.net/claider/archive/2008/09/16/2937495.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/claider/comments/commentRss/2937495.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2937495</trackback:ping><description>经常需要把程序同时发布到多台机器上，这个shell提供了一个基本的格式&lt;img src ="http://blog.csdn.net/claider/aggbug/2937495.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>論壇公德佛</dc:creator><title>awk 命令返回值莫名多出来的空格以及解决 </title><link>http://blog.csdn.net/claider/archive/2008/08/07/2784311.aspx</link><pubDate>Thu, 07 Aug 2008 20:52:00 GMT</pubDate><guid>http://blog.csdn.net/claider/archive/2008/08/07/2784311.aspx</guid><wfw:comment>http://blog.csdn.net/claider/comments/2784311.aspx</wfw:comment><comments>http://blog.csdn.net/claider/archive/2008/08/07/2784311.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/claider/comments/commentRss/2784311.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2784311</trackback:ping><description>awk的返回值在拼接时有时会多一个空格&lt;img src ="http://blog.csdn.net/claider/aggbug/2784311.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>論壇公德佛</dc:creator><title>crontab 里面这么写可以解决环境变量问题</title><link>http://blog.csdn.net/claider/archive/2008/08/06/2779115.aspx</link><pubDate>Wed, 06 Aug 2008 22:56:00 GMT</pubDate><guid>http://blog.csdn.net/claider/archive/2008/08/06/2779115.aspx</guid><wfw:comment>http://blog.csdn.net/claider/comments/2779115.aspx</wfw:comment><comments>http://blog.csdn.net/claider/archive/2008/08/06/2779115.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/claider/comments/commentRss/2779115.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2779115</trackback:ping><description>在写crontab里面的需要执行的shell时，必须将所有路径都写成绝对变量，除此以外像dbaccess/isql这种就比较麻烦，于是可以利用.profile&lt;img src ="http://blog.csdn.net/claider/aggbug/2779115.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>論壇公德佛</dc:creator><title>rcporftp 结合rsh便利编程框架</title><link>http://blog.csdn.net/claider/archive/2008/08/01/2753778.aspx</link><pubDate>Fri, 01 Aug 2008 14:49:00 GMT</pubDate><guid>http://blog.csdn.net/claider/archive/2008/08/01/2753778.aspx</guid><wfw:comment>http://blog.csdn.net/claider/comments/2753778.aspx</wfw:comment><comments>http://blog.csdn.net/claider/archive/2008/08/01/2753778.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/claider/comments/commentRss/2753778.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2753778</trackback:ping><description>经常碰到在小型机等用户界面不是很友好的机器上编程的情况，于是通常在pc写好，再由ftp传送。此处提供一个简单的框架&lt;img src ="http://blog.csdn.net/claider/aggbug/2753778.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>論壇公德佛</dc:creator><title>[总结]C与Shell程序的交互</title><link>http://blog.csdn.net/claider/archive/2008/08/01/2752410.aspx</link><pubDate>Fri, 01 Aug 2008 11:28:00 GMT</pubDate><guid>http://blog.csdn.net/claider/archive/2008/08/01/2752410.aspx</guid><wfw:comment>http://blog.csdn.net/claider/comments/2752410.aspx</wfw:comment><comments>http://blog.csdn.net/claider/archive/2008/08/01/2752410.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/claider/comments/commentRss/2752410.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2752410</trackback:ping><description>C与Shell程序的交互&amp;lt;br&amp;gt;一、C调用shell&amp;lt;br&amp;gt;C程序调用shell脚本共有三种方式：system()、popen()、exec系列函数&amp;lt;br&amp;gt;1）system(shell命令或shell脚本路径);&amp;lt;br&amp;gt;&amp;amp;nbsp; &amp;amp;nbsp;&amp;lt;br&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp; system()会调用fork()产生子进程，由子进程来调用/bin/sh-c string来执行参数string字符串所代表的命令，此命令执行完后随即返回原调用的进程。在调用system()期间SIGCHLD 信号会被暂时搁置，SIGINT和SIGQUIT 信号则会被忽略。&amp;amp;nbsp; &amp;amp;nbsp;&amp;lt;br&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; 返回值：如果system()在调用/bin/sh时失败则返回127，其他失败原因返回-1。若参数string为空指针(NULL)，则返回非零值。如果 system()调用成功则最后会返回执行shell命令后的返回值，但是此返回值&lt;img src ="http://blog.csdn.net/claider/aggbug/2752410.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>論壇公德佛</dc:creator><title>这个惊叹号不能少，否则引发“syntax error `end of file' unexpected”的错误</title><link>http://blog.csdn.net/claider/archive/2008/05/09/2425777.aspx</link><pubDate>Fri, 09 May 2008 23:41:00 GMT</pubDate><guid>http://blog.csdn.net/claider/archive/2008/05/09/2425777.aspx</guid><wfw:comment>http://blog.csdn.net/claider/comments/2425777.aspx</wfw:comment><comments>http://blog.csdn.net/claider/archive/2008/05/09/2425777.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/claider/comments/commentRss/2425777.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2425777</trackback:ping><description>写shell时发现一个小错误修正并记录之&lt;img src ="http://blog.csdn.net/claider/aggbug/2425777.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>論壇公德佛</dc:creator><title>ftp传递可执行文件的小问题</title><link>http://blog.csdn.net/claider/archive/2007/12/11/1930396.aspx</link><pubDate>Tue, 11 Dec 2007 22:59:00 GMT</pubDate><guid>http://blog.csdn.net/claider/archive/2007/12/11/1930396.aspx</guid><wfw:comment>http://blog.csdn.net/claider/comments/1930396.aspx</wfw:comment><comments>http://blog.csdn.net/claider/archive/2007/12/11/1930396.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/claider/comments/commentRss/1930396.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1930396</trackback:ping><description>记录在ftp传输可执行文件后可能出现的小问题。&lt;img src ="http://blog.csdn.net/claider/aggbug/1930396.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>論壇公德佛</dc:creator><title>FreeBSD 6.1 Release 下挂载windows分区</title><link>http://blog.csdn.net/claider/archive/2007/01/02/1472373.aspx</link><pubDate>Tue, 02 Jan 2007 16:28:00 GMT</pubDate><guid>http://blog.csdn.net/claider/archive/2007/01/02/1472373.aspx</guid><wfw:comment>http://blog.csdn.net/claider/comments/1472373.aspx</wfw:comment><comments>http://blog.csdn.net/claider/archive/2007/01/02/1472373.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/claider/comments/commentRss/1472373.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1472373</trackback:ping><description>用mount_msdosfs命令挂载windows分区&lt;img src ="http://blog.csdn.net/claider/aggbug/1472373.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>論壇公德佛</dc:creator><title>进一步完善MPLAYER的安装</title><link>http://blog.csdn.net/claider/archive/2006/10/31/1359078.aspx</link><pubDate>Tue, 31 Oct 2006 19:20:00 GMT</pubDate><guid>http://blog.csdn.net/claider/archive/2006/10/31/1359078.aspx</guid><wfw:comment>http://blog.csdn.net/claider/comments/1359078.aspx</wfw:comment><comments>http://blog.csdn.net/claider/archive/2006/10/31/1359078.aspx#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://blog.csdn.net/claider/comments/commentRss/1359078.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1359078</trackback:ping><description>解决mplayer不能正常播放某些DVD的问题&lt;img src ="http://blog.csdn.net/claider/aggbug/1359078.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>論壇公德佛</dc:creator><title>解决FreeBSD 6.1 Release下中文输入问题</title><link>http://blog.csdn.net/claider/archive/2006/10/21/1344723.aspx</link><pubDate>Sat, 21 Oct 2006 23:52:00 GMT</pubDate><guid>http://blog.csdn.net/claider/archive/2006/10/21/1344723.aspx</guid><wfw:comment>http://blog.csdn.net/claider/comments/1344723.aspx</wfw:comment><comments>http://blog.csdn.net/claider/archive/2006/10/21/1344723.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/claider/comments/commentRss/1344723.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1344723</trackback:ping><description>以fcitx小企鹅输入法解决中文输入问题&lt;img src ="http://blog.csdn.net/claider/aggbug/1344723.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>論壇公德佛</dc:creator><title>搞定FreeBSD 6.1 Release KDE的中文显示问题</title><link>http://blog.csdn.net/claider/archive/2006/10/21/1344638.aspx</link><pubDate>Sat, 21 Oct 2006 22:52:00 GMT</pubDate><guid>http://blog.csdn.net/claider/archive/2006/10/21/1344638.aspx</guid><wfw:comment>http://blog.csdn.net/claider/comments/1344638.aspx</wfw:comment><comments>http://blog.csdn.net/claider/archive/2006/10/21/1344638.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/claider/comments/commentRss/1344638.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1344638</trackback:ping><description>以开源字体搞定FreeBSD下的，中文显示问题&lt;img src ="http://blog.csdn.net/claider/aggbug/1344638.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>論壇公德佛</dc:creator><title>搞定FreeBSD 6.1 Release的声卡</title><link>http://blog.csdn.net/claider/archive/2006/10/20/1343153.aspx</link><pubDate>Fri, 20 Oct 2006 20:35:00 GMT</pubDate><guid>http://blog.csdn.net/claider/archive/2006/10/20/1343153.aspx</guid><wfw:comment>http://blog.csdn.net/claider/comments/1343153.aspx</wfw:comment><comments>http://blog.csdn.net/claider/archive/2006/10/20/1343153.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/claider/comments/commentRss/1343153.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1343153</trackback:ping><description>修改配置文件，使得开机即可启动声卡&lt;img src ="http://blog.csdn.net/claider/aggbug/1343153.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>論壇公德佛</dc:creator><title>cvs的使用最简单案例</title><link>http://blog.csdn.net/claider/archive/2006/07/17/933840.aspx</link><pubDate>Mon, 17 Jul 2006 23:36:00 GMT</pubDate><guid>http://blog.csdn.net/claider/archive/2006/07/17/933840.aspx</guid><wfw:comment>http://blog.csdn.net/claider/comments/933840.aspx</wfw:comment><comments>http://blog.csdn.net/claider/archive/2006/07/17/933840.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/claider/comments/commentRss/933840.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=933840</trackback:ping><description>本地服务器，本地客户端试用CVS&lt;img src ="http://blog.csdn.net/claider/aggbug/933840.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>論壇公德佛</dc:creator><title>FreeBSD 5.4 Release安装纪实</title><link>http://blog.csdn.net/claider/archive/2005/09/03/470664.aspx</link><pubDate>Sat, 03 Sep 2005 15:55:00 GMT</pubDate><guid>http://blog.csdn.net/claider/archive/2005/09/03/470664.aspx</guid><wfw:comment>http://blog.csdn.net/claider/comments/470664.aspx</wfw:comment><comments>http://blog.csdn.net/claider/archive/2005/09/03/470664.aspx#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://blog.csdn.net/claider/comments/commentRss/470664.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=470664</trackback:ping><description>最近装了一下FreeBSD，碰到一些麻烦，历时一个多月，终于点亮Xorg&lt;img src ="http://blog.csdn.net/claider/aggbug/470664.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>