How Do I Save a Bashrc File in Linux?
Contents How Do I Save and Exit a Bashrc File? Save a File and Quit Vim / Vi to Save the File and Exit the Editor Simultaneously, Press Esc to Switch to Normal...
Contents
How do I save and exit a Bashrc file?
Save a File and Quit Vim / Vi
To save the file and exit the editor simultaneously, press Esc to switch to normal mode, type :wq and hit Enter .
How do I save and edit a .bashrc file?
To Save and quit press Shift + Z + Z , :wq , or in command mode. If you are opening the file in read only mode you will have to hit :q! .