Common Linux Operations

Source: Internet
Author: User

1. Introduction to Linux Desktop environment

Linux desktop environment is based on X Windows System development, so-called desktop environment is actually running on the Linux system of a set of graphical interface software, our first contact with the Windows graphical interface is the same, is running on the dos of a set of software.

2. Linux Terminal

3. Common shortcut keys

  [Ctrl]+ [Alt] + [F1]~[F6]  打开 pure command line interface "Terminal"

  [Ctrl]+[Alt]+[F7]      返回图形界面 

[Tab] Fill input

[Ctrl + C] Terminates the current program, but does not exit the terminal

[Ctrl + A] moves the terminal cursor to the Wardrobe

[Ctrl + E] Moves the terminal cursor to the end of the line

You can use the arrow keys on your keyboard to restore the commands you've previously entered.

4. Common commands

(1) Get Help on the command line

Man gets help, the help information given by the Man command is divided into eight sections, which section needs help information to add the corresponding segment numbers behind the man, such as the man 1 ls.

There are usually a lot of things in the Man Handbook, you may not be easy to find the results you want, but fortunately you can use the search in man, /<你要搜索的关键字> and after finding you can use the key to switch to the next keyword where the n last keyword is located shift+n . Use Space (SPACEBAR) to page, Enter (enter) scroll down one line, or use j , k (Vim Editor's move key) to scroll backward one line forward. Press the h key to show use Help (because man uses less as a reader, which is less the tool's Help), press q exit

Section Description
1 General Command
2 System calls
3 Library functions, covering the C standard function library
4 Special files (usually devices in/dev) and drivers
5 File formats and conventions
6 Games and Screensavers
7 Miscellaneous
8 System administration Commands and Daemons

For more detailed help, you can also use info commands, but man it is often enough to use them. If you know the purpose of a command, just want to quickly look at some of its specific parameters, then you can use --help parameters, most of the commands will have this parameter

e.g. LS--help

Common Linux Operations

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.