I am having problem editing a file inside the system directory.
I have been having auto boot check up issues and i just want to remove it , so according to a little research i have to do some file edits like should add
fsck.mode=skip
into the grub.
But i am not able to edit the file because it says i don't have perimission to edit the files.
sudo
to elevate privileges. Be aware that thegrub.cfg
file gets re-generated, so changes there tend not to stick (survive) long, so being specific as to OS/release & file you're editing may help you achieve what you actually want to accomplish. – guiverc Jun 26 '22 at 01:04EDITOR
andVISUAL
environment variables to your chosen editor (I useemacsclient
, but you can pick any editor you want to use) and use thesudoedit
command. Readman sudoedit
. Also, keep a copy of the unedited, original file. – waltinator Jun 26 '22 at 02:10