Each editor has different strengths and features.
Edit text file in linux terminal. Edit the file with vim. Type the following command as sudo in Terminal. Open a file.
Hold the shift key and press ZZ. ToolsText Editors to Edit Files in Linux. Cp etciscanintscanini vartmp.
Some have multiple editors. How to edit bashrc on Linux for Color Prompt is explained in this article. When it prompts for saving the file press y to save and quit the editor.
Login into Linux server using ssh command. If you would like to quit without saving any changes youve made then use q. Using Text Editors to Create a Linux File.
These editors are available on all Linux distributions like Arch Linux CentOS Debian Fedora and Ubuntu. The bashrc file in Linux is a configuration file containing configurations related to the systems terminal. Save and Quit.
If you want to edit a file graphicallyeven a system filethe gedit text editor makes it painless and easy. Open the file in vim with the command vim. By making different changes to this file you can easily customize your Linux terminal within seconds.