当前位置: 技术问答>linux和unix
I open grub.conf in Nautilus , but it doesn't allow me to edit the file . How to open it in the editable mode ?
来源: 互联网 发布时间:2014-12-20
本文导语: I open grub.conf in Nautilus , but it doesn't allow me to edit the file . How to open it in the editable mode ? | you can use the tool of "vi" to edit the file of "gurb.conf" in the shell!! you can search the ...
I open grub.conf in Nautilus , but it doesn't allow me to edit the file .
How to open it in the editable mode ?
How to open it in the editable mode ?
|
you can use the tool of "vi" to edit the file of "gurb.conf" in the shell!!
you can search the article about the tool of "vi" in the website of "http://www.linuxeden.com or http://www.linuxbyte.net"!
you can search the article about the tool of "vi" in the website of "http://www.linuxeden.com or http://www.linuxbyte.net"!
|
make sure you're super user ....
ls -l grub.conf
ls -l grub.conf
|
you can chmod +rwx grub.conf. to make you can opration it
|
以root身份登陆
chmod 修改grub.conf文件使文件所有者具有写权限
vi grub.conf 编辑就ok了
chmod 修改grub.conf文件使文件所有者具有写权限
vi grub.conf 编辑就ok了
|
make sure you have the modifing permission.
use root login ,then you can
use root login ,then you can