Linux Basic Four

Source: Internet
Author: User

Linux file Types      Common Files: - , f     directory file  :  d   (path mapping)      link file: l   (symbolic Link)      device file:          character device:c         block file:b      command Pipeline:p     Socket file: S    linux file timestamp      Access time      modification time      change time: time when the source data changed     ls     -a: Show All Files     -a: Do not display common path  . ..     -l: Long format     -d: Displays the directory itself information, usually used with-l     -R: Reverse Display     -r: Recursive display     -h: Easy-to-read format displays file size     -i:index node   Index nodes     tree   tree display directory file bash features four     alias  Displays all aliases     alias  aliases defined in the current Shell   =  ' originalStart command '     unalias  aliases    remove aliases      file View:     file FILE ...   View file content formats     cat  connect files to display          -E: Display Linux line terminator  $        -v: Show nonprinting characters         -E: Equivalent to  -vE         -n: The rows are numbered sequentially when displayed         -s: multiple contiguous blank lines are displayed as a blank line              tac  Display file contents in reverse order by line                  more    less     head        -n #   Display Lines          tail        -n #         -f Do not exit after displaying the contents of the file, continue to display subsequent additions          echo usage       -E: Support control character option,eg: \n  line break      \0nnn      \ 033 [# #m       The first # represents the foreground color, the second represents the background colors      \033 [0m  Control Terminator      eg: "\033[1mhello \033[0m"              -n: does not display the content wrap       file Operation     CP:         -r: Recursive creation of         -i: Interactive         -d: When the source file is a linked file, copy the link character itself rather than the source file to point to          -a: Equivalent to-dr        -p: Keep source file attributes          -f: Forced override, with-I time invalid              MV: Move files without using the-r option, copy directly



Linux Basic Four

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.