Translations:Viewing and editing configuration files/12/en
From Manjaro
Views
Actions
Namespaces
Variants
Tools
An alternative, and arguably safer method, would be to save a copy of the file somewhere you can write and then use sudo to move it. For example, if you used nano to edit your fstab and then saved a copy to your home folder, you could then move it to the proper location with sudo:
user $ sudo mv ~/fstab /etc/fstab