How Do I Edit a Read Only File in Linux Vi?
Contents How Do I Change a Read Only File in Linux? How to Edit a Read Only File in Linux? Log on to a Root User from the Command Line. Type the Command Su...
Contents
How do I change a read only file in Linux?
How to edit a read only file in Linux ?
- Log on to a root user from the command line. type the command su.
- Enter the root password.
- Type gedit (to open a text editor) followed by the path of your file.
- Save and Close the file.
Must Read
How do I edit a file in Linux VI?
Work
- Introduction.
- 1Select the file by typing vi index. …
- 2Use the arrow keys to move the cursor to the part of the file you want to change.
- 3Use the i command to enter Insert mode.
- 4Use the Delete key and the letters on the keyboard to make the correction.
- 5Press the Esc key to get back to Normal mode.