- follow online tutorial for ordinary users to add root, entered a
vim/etc/sudoers code> command, the file is edited, but couldn't find how to save and exit the interface li>
- online has said press ESC, and then wq can save, I haven't response, press the ESC only Windows ding-dong prompt li>
- for a long time to see a solution, the last line in the file, directly on the keyboard input (or shift +; These two keys)
4. At this point, you will find that you are ready to enter the command, and the next time you open the file, you will save
reference: https://blog.csdn.net/wy_1997/article/details/83822884
Read More:
- Error analysis of swap file “*. SWP” already exists! When editing files with VIM
- Save file and exit command of vim
- [solution] install youcompleteme through VIM plug-in manager VIM plug, including ycmd server shutdown solution
- Nohup command in Linux: nohup: assigning input and attaching output to‘ nohup.out ’
- A simple method of generating secret key by GIT and configuring SSH public key
- The method of getting shell command output in Python
- VIM setting file encoding format
- Differences between VI and VIM in Linux
- The python version output from the command line is inconsistent with the python version in the current CONDA environment
- Output the error log of CMD in windows to the txt file: use > > to log.txt
- Use jstack to output the stack information in Java process to the specified file and analyze it
- Linux edit save file command
- How to replace strings in VIM
- When the fastJson tool class converts the installed list
into JSONArray, the key whose value is null in the hashmap will also be lost. - Read in wannier90 output file hr.dat to construct real space Hamiltonian to calculate Fermi surface
- Error encountered while executing PIP install: error: complete output from command Python setup.py egg_ info:
- Prompt when executing sh file in Linux: nohup: unable to run command “. / startup. Sh”: insufficient permissions
- Multi-object editing not supported error resolution
- Method of modifying file and folder permission by Chmod command in Linux
- Error in header file when calling OpenGL to open obj file in vs2013: unable to open include file: “GL / glut. H”: no such file or directories