Difference between revisions of "Translations:Viewing and editing configuration files/12/en"
From Manjaro
Views
Actions
Namespaces
Variants
Tools
(Importing a new version from external source) |
(Importing a new version from external source) |
||
Line 1: | Line 1: | ||
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: | 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: | ||
sudo mv ~/fstab /etc/fstab | {{UserCmd|command=sudo mv ~/fstab /etc/fstab}} |
Latest revision as of 09:18, 25 December 2021
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