﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><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>博客园-永春阁-随笔分类-OS Shell</title><link>http://www.cnblogs.com/firstyi/category/99412.html</link><description>专注于技术，切不可沉湎于技术</description><language>zh-cn</language><lastBuildDate>Sat, 17 May 2008 12:33:54 GMT</lastBuildDate><pubDate>Sat, 17 May 2008 12:33:54 GMT</pubDate><ttl>60</ttl><item><title>系统盘(c盘)空间清理方法总结</title><link>http://www.cnblogs.com/firstyi/archive/2008/03/06/1093051.html</link><dc:creator>永春</dc:creator><author>永春</author><pubDate>Thu, 06 Mar 2008 02:34:00 GMT</pubDate><guid>http://www.cnblogs.com/firstyi/archive/2008/03/06/1093051.html</guid><wfw:comment>http://www.cnblogs.com/firstyi/comments/1093051.html</wfw:comment><comments>http://www.cnblogs.com/firstyi/archive/2008/03/06/1093051.html#Feedback</comments><slash:comments>5</slash:comments><wfw:commentRss>http://www.cnblogs.com/firstyi/comments/commentRss/1093051.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/firstyi/services/trackbacks/1093051.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 我们一般会把系统安装在C盘，但是使用一段时间后会发现C盘的空间越来越少。尤其我们做开发的，会在电脑中装上很多软件的。比如我的机器上C盘空间 15G，平时安装软件时只要可以选择我都会把它装到其他盘的，但是半年下来，C盘只剩下800M的空间了，究其原因，一方面windows系统会占用很大的空间，另一方面平时安装软件时也会把一些系统文件安装到C盘下的。在此总结我清理C盘的一些方法，也欢迎大家补充：&nbsp;&nbsp;<a href='http://www.cnblogs.com/firstyi/archive/2008/03/06/1093051.html'>阅读全文</a><img src ="http://www.cnblogs.com/firstyi/aggbug/1093051.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://firstyi.cnblogs.com/" target="_blank">永春</a> 2008-03-06 10:34 <a href="http://www.cnblogs.com/firstyi/archive/2008/03/06/1093051.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>一个简单的watchdog脚本在SCO和AIX下的问题</title><link>http://www.cnblogs.com/firstyi/archive/2007/10/16/926282.html</link><dc:creator>永春</dc:creator><author>永春</author><pubDate>Tue, 16 Oct 2007 08:00:00 GMT</pubDate><guid>http://www.cnblogs.com/firstyi/archive/2007/10/16/926282.html</guid><wfw:comment>http://www.cnblogs.com/firstyi/comments/926282.html</wfw:comment><comments>http://www.cnblogs.com/firstyi/archive/2007/10/16/926282.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/firstyi/comments/commentRss/926282.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/firstyi/services/trackbacks/926282.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 一个简单的watchdog脚本，判断当进程停止时把它自动重启，脚本如下：<br>在sco下可以正常执行，但在aix下执行有问题，在20行报错：A test command parameter is not valid.<br>后把20行改成if [ "$FUN_RET" = 'UP' ]可以正常执行，但是每次都认为进程没有启动(即使已经启动的情况)<br><br>后来经过多次实验，发现，在sco下当进程已经启动时使用  wc -l 后得到的结果是：<br> 1<br>而在aix下当进程已经启动时使用  wc -l 后得到的结果是：<br>               1&nbsp;&nbsp;<a href='http://www.cnblogs.com/firstyi/archive/2007/10/16/926282.html'>阅读全文</a><img src ="http://www.cnblogs.com/firstyi/aggbug/926282.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://firstyi.cnblogs.com/" target="_blank">永春</a> 2007-10-16 16:00 <a href="http://www.cnblogs.com/firstyi/archive/2007/10/16/926282.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>crontab使用小技巧</title><link>http://www.cnblogs.com/firstyi/archive/2007/10/16/926263.html</link><dc:creator>永春</dc:creator><author>永春</author><pubDate>Tue, 16 Oct 2007 07:46:00 GMT</pubDate><guid>http://www.cnblogs.com/firstyi/archive/2007/10/16/926263.html</guid><wfw:comment>http://www.cnblogs.com/firstyi/comments/926263.html</wfw:comment><comments>http://www.cnblogs.com/firstyi/archive/2007/10/16/926263.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/firstyi/comments/commentRss/926263.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/firstyi/services/trackbacks/926263.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: unix的crontab功能很强大。<br><br>但是有的时候shell脚本需要依赖特定用户的环境变量，由于crontab执行时不会使用当前用户的环境变量，所以需要在shell脚本中写上很多的环境变量，比较麻烦。<br><br>有一种方式，可以在crontab中指定执行shell的用户：<br>在用root用户执行crontab的情况下可以使用以下方式：<br>         0,5,10,15,20,25,30,35,40,45,50,55 * * * * su - user1 -c "/home/shell.sh"&nbsp;&nbsp;<a href='http://www.cnblogs.com/firstyi/archive/2007/10/16/926263.html'>阅读全文</a><img src ="http://www.cnblogs.com/firstyi/aggbug/926263.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://firstyi.cnblogs.com/" target="_blank">永春</a> 2007-10-16 15:46 <a href="http://www.cnblogs.com/firstyi/archive/2007/10/16/926263.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>使用endmqm 命令无法停止MQ队列管理器，怎么办？</title><link>http://www.cnblogs.com/firstyi/archive/2007/09/25/905258.html</link><dc:creator>永春</dc:creator><author>永春</author><pubDate>Tue, 25 Sep 2007 04:26:00 GMT</pubDate><guid>http://www.cnblogs.com/firstyi/archive/2007/09/25/905258.html</guid><wfw:comment>http://www.cnblogs.com/firstyi/comments/905258.html</wfw:comment><comments>http://www.cnblogs.com/firstyi/archive/2007/09/25/905258.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/firstyi/comments/commentRss/905258.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/firstyi/services/trackbacks/905258.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 使用endmqm 命令无法停止MQ队列管理器，怎么办？&nbsp;&nbsp;<a href='http://www.cnblogs.com/firstyi/archive/2007/09/25/905258.html'>阅读全文</a><img src ="http://www.cnblogs.com/firstyi/aggbug/905258.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://firstyi.cnblogs.com/" target="_blank">永春</a> 2007-09-25 12:26 <a href="http://www.cnblogs.com/firstyi/archive/2007/09/25/905258.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>利用unix shell批量替换文件中的特殊字符</title><link>http://www.cnblogs.com/firstyi/archive/2007/07/12/815267.html</link><dc:creator>永春</dc:creator><author>永春</author><pubDate>Thu, 12 Jul 2007 03:38:00 GMT</pubDate><guid>http://www.cnblogs.com/firstyi/archive/2007/07/12/815267.html</guid><wfw:comment>http://www.cnblogs.com/firstyi/comments/815267.html</wfw:comment><comments>http://www.cnblogs.com/firstyi/archive/2007/07/12/815267.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/firstyi/comments/commentRss/815267.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/firstyi/services/trackbacks/815267.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: &nbsp;&nbsp;<a href='http://www.cnblogs.com/firstyi/archive/2007/07/12/815267.html'>阅读全文</a><img src ="http://www.cnblogs.com/firstyi/aggbug/815267.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://firstyi.cnblogs.com/" target="_blank">永春</a> 2007-07-12 11:38 <a href="http://www.cnblogs.com/firstyi/archive/2007/07/12/815267.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>