Quote:
Originally posted by truckman
Tried that, but it came up as a read only buffer and would not let me add anything.
|
As root? The file is probably write-protected, but as root you can change that. In a terminal (xterm, konsole etc) go to where the file is:
cd /path/to/the/file
then
chmod u+w rc.local
edit the file then, as above, only:
chmod u-w rc.local
If you can use vi (or gvim?) then open it using:
gvim /path/to/the/file
press i for insert mode and escape to get out of insert mode, then:
:w!q
will force save and quit (if you do it this way you don't need to do all that chmod stuff above)