I'm a beginner to Ubuntu. Can anyone tell me how to edit a configuration file?
This is on Ubuntu 18.04 LTS. Thanks in advance.
configurationeditingtext-editor
I'm a beginner to Ubuntu. Can anyone tell me how to edit a configuration file?
This is on Ubuntu 18.04 LTS. Thanks in advance.
Best Answer
Configuration files are usually owned by
root
. For example:In order for a user (yourself) to edit
/etc/grub/default
you need to usesudo
powers. So instead of using:You must use:
At which point you will be prompted for your password.
Note: Related question today: Grub file can't be saved after modification