Ctrl+c,ctrl+z,ctrl+d

Source: Internet
Author: User
1, CTRL + C more violent, is to send terminal to the current program, such as you are running a lookup function, files are looking, CTRL + C will force the end of the current process.
2, Ctrl+z is the current program hangs, suspend the implementation of this program, such as you are in the MySQL terminal, need to come out to do some other file operations, and do not want to quit the MySQL terminal (because the next time you have to enter the user name password into, very troublesome), so you can CTRL + Z will suspend MySQL, and then do other operations, and then enter FG return can return, of course, can hang a lot of process to the background, and then the FG plus number will be able to suspend the process back to the foreground. Of course, it is very convenient to switch front and rear with BG and FG commands.
3, Ctrl+d is to send an exit signal, not so strong, like Ctrl + C operation, such as you from administrator root back to your ordinary users can be used.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.