Getting started with Python--linux command

Source: Internet
Author: User

Getting Started with Linux commands
  1. pwd Displays the current directory
  2. CD switch directories such as: CD/switch to root directory
  3. CD.. Switch to Parent directory
  4. ls displays all files and folders in the current directory
  5. ls-l lists the files and folders in the current directory for more information
  6. ls-a displays all files and folders (including hidden files) in the current directory
  7. VI. Test creates a hidden file with a file name of. Test
  8. LS-LH Friendly display the list of files in the current directory (the file/folder size display unit is no longer a byte, but in kb,m, etc.)
  9. Vim file name Edit file Vim file name >> Press i key >> input file Contents >> Press ESC >> Press SHIFT +;(enter colon) > > enter Wq to edit the file and save
  10. Cat file name View all contents of file
  11. More file name to view the contents of the files when you hit the return line to see, knocking the Space bar one page to see
  12. mkdir directory name creation directory
  13. MV File 1 (directory 1) directory 2 move files or directories under a sibling directory to another directory
  14. MV file 1 file 2 overwrite file 1 under sibling directory 2
  15. mkdir-p Directory 1/Directory 2/Directory 3 recursively create a directory
  16. Tree Directory 1 properties show all content under directory 1

Getting started with Python--linux command

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.