<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[BIWEB开源PHP WMS系统创始人ArthurXF肖飞的blog]]></title> 
<link>http://www.bizeway.net/index.php</link> 
<description><![CDATA[网务通 - 网务公司发展之路]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[BIWEB开源PHP WMS系统创始人ArthurXF肖飞的blog]]></copyright>
<item>
<link>http://www.bizeway.net/read.php?</link>
<title><![CDATA[FreeBSD更改csh为bash产生错误的解决办法]]></title> 
<author>ArthurXF &lt;arthurxf@gmail.com&gt;</author>
<category><![CDATA[FreeBSD]]></category>
<pubDate>Fri, 30 Dec 2011 06:10:51 +0000</pubDate> 
<guid>http://www.bizeway.net/read.php?</guid> 
<description>
<![CDATA[ 
	操作系统：freebsd 8.0-RELEASE<br/>接触freebsd一天，感觉很不习惯 想把shell改为熟悉的bash<br/>步骤<br/>#cd /usr/ports/shells/bash<br/># make install clean ##这条命令忘记执行了 结果直接执行了下面的命令<br/>#chsh -s /usr/local/bin/bash<br/>于是杯具出现了 重新登录错误<br/> <br/>su:/usr/local/bin/bash: no such file or directory<br/>可见粗心大意 害人不浅<br/>解决办法：<br/>重启进入单用户模式 #启动时选择4<br/>因为硬重启 所以开始先检测磁盘<br/>#fsck<br/>#mount -a <br/>#chpass -s /bin/csh <br/>重启正常登录 执行<br/># make install clean <br/> <br/>#vim /etc/profile<br/>在里面加入下面命令(这里根据自己情况修改 如果PS1变量正常 不需要改动)<br/> PS1="`whoami`@`hostname &#124; sed 's/&#92;..*//'`"<br/> case `id -u` in<br/> &nbsp; &nbsp; &nbsp; &nbsp;0) PS1="${PS1}# ";;<br/> &nbsp; &nbsp; &nbsp; &nbsp;*) PS1="${PS1}$ ";;<br/> esac<br/>注销重新登录即可<br/><br/>Tags - <a href="tag.php?tag=freebsd" rel="tag">freebsd</a> , <a href="tag.php?tag=csh" rel="tag">csh</a> , <a href="tag.php?tag=bash" rel="tag">bash</a>
]]>
</description>
</item><item>
<link>http://www.bizeway.net/read.php?&amp;guid=0#topreply</link>
<title><![CDATA[[评论] FreeBSD更改csh为bash产生错误的解决办法]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://www.bizeway.net/read.php?&amp;guid=0#topreply</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>