<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>http://www.jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>http://www.jackxiang.com/post//</link>
<title><![CDATA[[实践OK]FreeBSD/ux系统下history命令的记录如何删除]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[Unix/LinuxC技术]]></category>
<pubDate>Fri, 13 Oct 2017 17:24:47 +0000</pubDate> 
<guid>http://www.jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	FreeBSD11.1好像不是这样的，清空/root/.bash_history没有用：在 /root/.history里，不是.bash_history。<br/>&nbsp;&nbsp;1000&nbsp;&nbsp;1:10&nbsp;&nbsp;&nbsp;&nbsp;mysql -S /tmp/mysql.sock<br/>&nbsp;&nbsp;1002&nbsp;&nbsp;1:26&nbsp;&nbsp;&nbsp;&nbsp;vi /root/.bash_history<br/><br/>history命令的記錄如何刪除？<br/><br/>1、修改/etc/profile將HISTSIZE=1000改成0或1<br/><br/>清除用戶home路徑下.bash_history<br/><br/>2、立即清空裏的history當前曆史命令的記錄<br/><br/>history -c<br/><br/>3、bash執行命令時不是馬上把命令名稱寫入history文件的，而是存放在內部的buffer中，等bash退出時會一並寫入。<br/><br/>不過，可以調用&#039;history -w&#039;命令要求bash立即更新history文件。<br/><br/>history -w
]]>
</description>
</item><item>
<link>http://www.jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] [实践OK]FreeBSD/ux系统下history命令的记录如何删除]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://www.jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>