freeBSD 配置/etc/rc.conf错误

配置freeBSD的/etc/rc.conf文件时结尾忘记打上双引号了,致使重启系统时异常shell

错误提示:ide

/etc/rc.conf:21syntax error:unterminated quoted string 
enter full pathname of shell or return for /bin/sh:spa

在这里卡住了,回车后貌似进入相似单用户模式(#模式),在这里不少命令都没法使用string

解决:it

一、直接Enter进入#模式class

二、挂载各个节点:mount -a配置

三、这样系统命令就能够使用了,接着修改正确/etc/rc.conf重启便可error

相关文章
相关标签/搜索