The software test work needs to master the Linux fast ... __linux

Source: Internet
Author: User
Linux shortcuts and key commands to be mastered by software test work

Linux Basic Keyboard input shortcuts and some common commands----everyone for me, I for everyone
<Ctrl><Alt><F1>
Switch to the first text terminal. You can have up to six different terminals under Linux. This command means: "Hold down the <Ctrl> key and the <Alt> key, and then press the <F1> key, then release all the keys."

<Ctrl><Alt><Fn> (n=1..6)

Switch to the nth text terminal. (You can also use commands that are not very often used chvt N to implement, n refers to the nth text terminal). In the text terminal (not in the X window), you can also simply use <ALT><Fn> to achieve switching, do not need the <CTRL> key.

Print out the name of the terminal you are using, if you want to know the name of the terminal, you can use the command fgconsole.

<Ctrl><Alt><F7>

Switch to the first graphical user interface (generally x-window at seventh terminal)

<Ctrl><Alt><Fn> (n=7 to 12)

Switch to nth graphic user street. By default, the first X-window runs at 7th Terminals, from 8th to 12th nothing, and of course you can start these graphical user interfaces one at a a-a-second.

<Tab>

(under the text terminal) You can use tab to automatically complete the command, or to display all of the options. This shortcut is really easy to use, often you will find it can save you a lot of time.

<ArrowUp>

Scroll and edit the previously entered command (under the text Terminal or X window). Press <ENTER> execute a History command

<ArrowDown>

Rolling back

<Shift><PgUp>

Scrolls the terminal output. It also works for the login prompt, so you can use it to roll back the startup information. The memory size of your video card determines how much you can roll back

<Shift><PgDown>

Rollback Terminal output

<Ctrl><Alt><+>

(under X Window) Change the screen resolution rate of the X server (if you set the X server there are several different screen resolution rates). For example, for my standard SVGA card and monitor, there are the following settings in the file/etc/x11/xf86config: (from the default, to the maximum virtual screen resolution that can be supported)

Modes "1024x768" "800x600" "640x480" "512x384" "480x300" "400x300" "1152x864" Z

Of course, first I have to set up my x server, you can use using Xconfigurator, Xf86config, or you can edit the file manually:/etc/x11/xf86config. Xfdrake (Mandrake is configured using a graphical user interface). You can also refer to the command Xvidtune and Xvidgen.

<Ctrl><Alt><->

(under X Window) modify the screen resolution rate of the X server to the previous setting.

<Ctrl><Alt><Esc>

(in X window, KDE) Close the window that my mouse will point to (the mouse cursor shape will change). The same effect can be achieved by using the command Xkill (on the X terminal). It is especially useful when a program window is hung.

<Ctrl><Alt><BkSpc>

Terminates the current X Window service (under the X window). Can be used if the X window does not exit normally.

<Ctrl><Alt><Delete>

(Applies to text terminal) shutdown and reboot. This is a normal shutdown under the text Terminal command, do not press the reset button on the computer to shut down and reboot.

<ctrl>c

Terminate the current process (for general small text-mode applications)

<ctrl>d

(Enter on a blank command line) to exit the current terminal. Take the next command.

<ctrl>d

Send file end conformance to current process. Do not press two times or you will withdraw yourself from the system.

<ctrl>s

Stop Terminal transfer

<ctrl>q

Start the terminal transfer from the new. If your terminal suddenly stops responding inexplicably, you can refer to the previous command.

<ctrl>z

Send the current process to background processing.

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.