Linux命令分为内置命令和外部命令,可以通过type命令查看
    内置命令:
        #help COMMAND
    外部命令:
        # COMMAND --help
        # man COMMAND
        # info COMMAND
    文档:/usr/share/doc/***
    应用软件的官方帮助文档
    搜索引擎google、baidu

man:
    The standard sections of the manual include:
       1      User Commands(/bin:/usr/bin:/usr/local/bin)
       2      System Calls
       3      C Library Functions
       4      Devices and Special Files
       5      File Formats and Conventions
       6      Games et. Al.
       7      Miscellanea
       8      System Administration tools and Deamons(/sbin:/usr/sbin:/usr/local/sbin)

    <>:必选    []:可选    ...:可以出现多次    |:多选一    {}:分组

    NAME:命令名称及功能简要说明
    SYNOPSIS:用法说明,包括可用的选项
    DESCRIPTION:命令功能的详细说明,包括选项的意义
    OPTIONS:选项的意义
    FILES:与命令相关的文件
    EXAMPLES:样例
    SEE ALSO:另见
翻屏:
    向后翻一屏:space
    向前翻一屏:b
    向后翻一行:enter
    向前翻一行:k

查找:
    /KEYWORD:向后查找
        n:下一个
        N:上一个
    ?KEYWORD:向前查找
        n:下一个
        N:上一个
退出:
    q

通过whatis可以查看命令出现在哪些章节
    which
    whereis
    whatis
    apropos

练习:
1、echo是内部命令还是外部命令?
    type echo

2、作用?
    echo: echo [-neE] [arg ...]
    Write arguments to the standard output.

3、如何换行显示?
    -n    do not append a newline
    -e    enable interpretation of the following backslash escapes
    -E    explicitly suppress interpretation of backslash escapes

    `echo' interprets the following backslash-escaped characters:
    \b    backspace
    \e    escape character
    \n    new line
    \t    horizontal tab
    \v    vertical tab
    \\    backslash
    \0nnn    the character whose ASCII code is NNN (octal).  NNN can be 0 to 3 octal digits
    \xHH    the eight-bit character whose value is HH (hexadecimal).  HH can be one or two hex digits

1、printf是内部命令还是外部命令?
    type printf
    
2、作用?
    printf - format and print data
    printf FORMAT [ARGUMENT]...
    printf OPTION

3、如何换行显示?
    \n     new line

1、file命令及其用法
    file - determine file type