Linux command line-Quick start of command line 1

Source: Internet
Author: User
Tags directory create file permissions

  1. PWD Print working directory printing working Directory

  2. hostname My Computer ' s network name computer on the Web

  3. mkdir make directory Create path

  4. CD Change Directory changes path

  5. LS list directory lists the contents of the path

  6. RmDir Remove Directory Delete path

  7. PUSHD Push Directory pushing path

  8. POPD Pop Directory launch path

  9. CP copy a file or directory copy files (which directly cover existing files) Cp-r: Recursive replication, together with files under folders

  10. MV move a file or directory to move files or paths (that is, rename, do not know why the abbreviation for move)

  11. Less page through a file page-wise browse files Q exit view

  12. Cat Print the whole file prints out the entire document

  13. Xargs Execute arguments execution parameters

  14. Find Find Files

  15. grep find things inside files finds content in a file. Use regular search to include the contents of the keyword and return the row

  16. Man mannual page reading manual, help command

  17. Apropos find what's appropriate find the right manual page

  18. Env look at your environment view environment

  19. echo Print some arguments printing parameters

  20. Export Export/set A new environment variable exporting/setting up an environment variable

  21. Exit exit the Shell

  22. sudo become super User root becomes superuser or root

  23. chmod Change permission modifiers modify file permissions

  24. Chown Changeownership Modifying the owner of a file

  25. Cd.. Go back to the top level directory (there are spaces!) )

  26. CD "I had fun" open a folder with spaces in the middle with ""

  27. CD i\ have\ fun/open a folder with spaces in the middle of the name, use \ Translate spaces

  28. CD ~ Back to home directory (with spaces in the middle!) )

  29. Cd.. /..    /.. Go up three levels directory (the current directory is the first layer)

  30. MKDIR-P Create a complete path, p is the meaning of the parent


Linux command line-Quick start of command line 1

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.