5. First login and online Help man page

Source: Internet
Author: User

  1. X window vs. command-line mode: Usually we also call the command-line mode as the Terminal interface (terminal or console), the Linux default will provide 6 terminal to allow the user to log in, switch the way for using [ctrl]+[alt]+[f1]+[ F6] of the combo button. The system will name F1~F6 the operating interface environment of TTY1~TTY6
      • CTRL+ALT+F1~F6: Text interface login Tty1~tty6 terminal.
      • CTRL+ALT+F7: Graphical interface Desktop
  2. Order structure: command [-options] Parameter1 parameter2 ...
      • One line of command the first input department is definitely a command or an executable file
      • command is the name of the order
      • The brackets do not actually exist with the actual command, and when the parameter setting is added, the parameters are usually
      • Parameter: A parameter that is attached to the following option, or is a command parameter
      • commands,-options, parameters, etc. these commands are separated by a space, and the shell is considered to be a grid, regardless of the empty shells.
      • A backslash can be used to escape the [Enter] symbol when the command is too long
  3. Important Hotkeys [Tab][ctrl]-c, [ctrl]-d:
      • Tab: Can be used to complete a file name or command name
      • CTRL + C: Can interrupt the current program keys
      • Ctrl+d: Usually represents the end of the keyboard input (end of file,eof) meaning, such as the C program to determine whether the end of EOF, you can use this command, the program can be detected. In addition, it can replace the input of exit.
  4. Command not found for found:
      • This command does not exist because the software is not installed, the workaround is to install the software.
      • The directory in which the command is located does not add it to the command search path, and the workaround is the path description in bash
      • Wrong spelling
  5. Mans page:
    1. The man command displays the meaning of the number (date (1)):
        • Code 1: Commands or executables that the user can manipulate in the shell environment (important)
        • Code 2: Functions and tools that the system kernel can invoke
        • Code 3: Some common functions and function libraries (library), mostly C libraries (LIBC)
        • Code 4: Description of the device file, usually files in/dev
        • Code 5: Configuration file or format of some files (important)
        • Code 6: Game
        • Code 7: Conventions or protocols, such as Linux file system, network protocol, ASCLL code, and other instructions
        • Code 8: Administrative commands available to system administrators (important)
        • Code 9: Root Kernel related files
        • You can get a more detailed description with man code man.
    2. Description in man page:
        • Name: Short command, Data name description
        • Synopsis: Brief description of the command execution syntax (syntax)
        • DESCRIPTION: A more complete description
        • Options: For the synopsis section, there is an enumeration of all the available option descriptions
        • COMMANDS: When this program (the software is executed, you can execute the command in this program)
        • Files: This program or data is used or referenced or connected to certain files
        • See ALSO: This command or data has other related instructions
        • EXAMPLE: Some of the rebates you can refer to
        • BUGS: Whether there is a related error
        • Not every one of them, there are options that do not appear above
    3. Actions in the man page:
        • Space: Page Down
        • /string: Query down Keywords
        • ? string: Query the keyword up
        • N,n: When you look down, press N to continue down, press N to go up. When you look at it, N is going up, and N is going to look down.
    4. Man's query order:
        • The order of the queries is recorded in the/etc/man.con configuration file, the first query to the description file will be displayed first. In general, because the sort relationship usually finds the one with the smaller number.
  6. Correct shutdown: In Linux, because each program or service is running in the background, there may be a lot of people working on your console at the same time behind the screen you can't see. The biggest problem, if not properly shutdown, may cause damage to the file system (because it is too late to write data back to the file, so some service files will be problematic)

5. First login and online Help man page

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.