Keyboard shortcuts for Unix stty
In the actual production environment, unix hosts often need to use a lot of command line terminals because of a large amount of data analysis or other reasons, and the shortcut keys used in the stty of the interface of many services are the same as traditional ones, such as mysql. So if you want to improve your usual efficiency, you must use the shortcut keys under stty. Here is a brief statement:
[root@localhost] # stty-a # prints all current configurations speed 38400 baud; rows 38; columns 134; line = 0 intr = ^ C; quit = ^\; erase = ^?; kill = ^ U; eof = ^ D; eol =; eol2 =; swtch =; start = ^ Q; stop = ^ Ssusp = ^ Z; rprnt = ^ R; werase = ^ W; lnext = ^ V; flush = ^ O; min = 1; time = 0 -parenb-parodd cs8-hupcl-cstopb cread-clocal-crtscts-cdtrdsr-ignbrk-brkint-ignpar-parmrk-inpck-istrip-inlcr-igncr icrnl ixon-ixoff-iuclc-ixany-imaxbel-iutf8opost-olcuc-ocrnl onlcr-onocr-onlret-ofill-ofdel nl0 cr0 tab0 bs0 vt0 ff0isig icanon iexten echo echoe echok-echonl-noflsh-xcase-tostop-echoprt echoctl echoke
"^" means [ctrl]. People who have used the nano editor will generally know that there are a few commonly used variables here:
Intr: send interrupt signal, mostly used to interrupt a program erase: delete characters backward kill: under the command terminal, delete the entire line of characters eof:EOF input Terminator susp: pause the current command flush: refresh a line prompt and of course "^ l" is clear, which means clearing the screen
The services on Unix basically follow the system standards, so these shortcuts are universal