Funny ctrl + s in Linux

Source: Internet
Author: User
In Linux, the funny ctrl + s-general Linux technology-Linux technology and application information. The following is a detailed description. Author palermo

I have encountered a problem just two days ago. I believe some of my friends are the same as me because of this.

The younger brother's office has a samba file server, which is idle, so I am used to using smbstatus-S to check the number of users connected to the local machine. The number of times I did not open my right hand (holding fruit to eat, or press the phone), only use the left hand to input. When the uppercase S is entered, the ctrl + s is accidentally touched, and the result screen will no longer accept the input, no matter what you do, it doesn't take care of you any more, just like the crash in window $. Fortunately there are six tty s, so it's cut into 2, so it's okay to use it (wipe the sweat ). But think about it. If there are such a probability (the probability is not small, especially for the younger brother, it is much more likely to die than linux, because this command and this parameter are often used, that is, when both hands are used for input, or if the input is incorrect !), Isn't it the same as a dead machine? Therefore, tty1 was treated as a false death, and the symptoms were described to many people for help.
Today, it happened again (this time I used a cell phone to say ......), So I switched to 2 again, and there was nothing to do. I switched back to 1 again. I thought the front and back keyboards seemed to have changed, so I cut them two more times. Now I can see it clearly, the scroll lock indicator on the keyboard is turned off with the switch, probably because it does. As a result, I tried to press the scroll lock key in step 1. As the light went off, N rows were continuously jumped at the prompt on the screen. The reason was that I hit enter consecutively in a hurry. Troubleshooting!

Check the scroll lock on the Internet. In the age of DOS, it was brilliant, and now it has finally declined. It is rarely used. However, many keyboards do not cancel it, and it may be unknown to use it. The strange thing is that, in tty, ctrl + s can be used to light up the indicator, but it cannot be closed in the same way. As a result, cainiao like younger brother will be shocked, it also hurts some talented man to find solutions for his younger brother.

There is an old saying that everything should be done in advance, but nothing should be done in advance. That is to say, when learning linux, we 'd better first have a certain theoretical basis and use it to guide machine practice, otherwise, you will be panic once you encounter problems, but your progress will be slow. This is true.
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.