Joke Collection Website - Bulletin headlines - Linux forced exit command line Linux forced exit command
Linux forced exit command line Linux forced exit command
There are three ways for users to log off:
1. Enter exit at the shell prompt and press Enter to confirm.
2. Enter logout at the shell prompt, and then press Enter to confirm.
3. Press the shortcut key crtl+d (this method has the same effect as logout).
Exit the edited Linux command?
Linux system uses vi editor for text editing (the same function as vim). If you want to quit editing (you must press Esc to quit the modification phase), you can:
1. Save without exiting:
: w Save the file without quitting vi editing.
:w! Force saving without exiting vi editing.
: wfile saves the changes in the file without quitting vi editing.
2. Save and exit:
: wq Save the file and exit vi editing.
:wq! Force the file to be saved and exit vi editing.
3. Quit without saving:
: q Do not save the file and exit vi editing.
:q! Do not save the file and force exit vi editing.
:e! Discard all modifications and start editing from the last time you saved the file.
Undo key for linux?
Press the u key in vi to undo the operation.
U Undo the previous operation.
Ctrl+r restores the operation undone in the previous step.
note:
If you type "u" twice and your text has been restored, it's time to configure your Vim in Vi compatibility mode.
revise
If you undo too much, you can enter CTRL-R (redo) to undo the last command. In other words, it revoked a revocation. To see an execution example, enter CTRL-R twice. The character a and the spaces after it appear:
Young intelligent turtle
There is a special version of the undo command: "u" (row undo). The Row Undo command undoes all previously edited rows.
Operation on. Enter the following command twice to cancel the previous "u":
averyintletillingturtle
Xxxx delete very
Antley scarab
Xxxxxx Delete Turtle
Intelligent intelligence
Use "u" to restore the straight line.
averyintletillingturtle
Undo "u" with "u"
Intelligent intelligence
The "u" command changes itself, the "u" command cancels the operation, and the CTRL-R command redoes the operation. It's a little messy, but it's unnecessary.
Don't worry, you can use the "u" and CTRL-R commands to switch to any state.
Popular text editors usually have forward and backward functions and can move back and forth between browsed positions in a file. In vim, use Ctrl-O to perform backward operation and Ctrl-I to perform forward operation.
How does kalilinux quit?
That's what I did at first. Now that I have solved 1, right-click the taskbar at the bottom and select Panel-Panel Preferences to cancel "Lock Panel", so that you can use the mouse to adjust the taskbar to it. 2. About the disappearance of the lock button and the logout button. Switch to the Projects tab in the panel preferences, and finally add the 1 separator and an action button. 3. Right-click the action button that appears, select Properties, and change the appearance from Session Menu to Action Button. There are only two actions left in the following actions: "Lock" and "Logout", which are the same as the original initial interface. Now
- Previous article:How to take a bus from Tongling Station to Tongling North?
- Next article:Five Inspirational Slogans for Senior High School Classrooms
- Related articles
- How to show corporate philosophy and corporate culture in the company?
- What is the slogan of League of Legends snakg team?
- Transfer conditions of fire reunion plan
- Adhere to the "four orientations" and promote the implementation of "I do practical things for the masses"
- Large-scale event planning
- Characteristics of digital marketing
- 202 1 New Year's Day New Year's Day greetings from leaders are brief
- The most interesting place in China.
- 2022 Collection of copywriting for sharing your husband’s breakfast on WeChat Moments (50 sentences)
- How do short people wear long legs?