Centos 6.2 was installed on the VM and Common commands in Linux were reviewed.

Source: Internet
Author: User
Preface

I tried my best to install centos 6.2 on a virtual machine, but I forgot many common commands. I found some information on the Internet and used it on the terminal myself.

Related Resources
  • Vmware_workstation_wmb.zip
  • CentOS-6.2-x86_64-LiveCD
  • Ubuntu-11.10-desktop-amd64.iso
Common commands

Common commands:

  1. Su grants the current user administrator privileges
  2. Init 3 go to the command line interface *
  3. Init 5 enters the graphical interface *
  4. Login Login
  5. Date display current time
  6. Ls displays the file list in the current directory
  7. PWD displays the current directory path
  8. Locale displays the current language environment
  9. PS displays the current process
  10. Set Display System Variables
  11. Help display Command help information
  12. The command is called -- help. The detailed usage of the command is displayed, for example, ls -- help.
  13. Mkdir create directory
  14. Find find a directory or file in the directory
  15. Move files or folders or rename music videos.
  16. Rm deletes a file or does not empty a directory
  17. Rmdir Delete empty directory
  18. CP copy file or directory
  19. CD to go to the directory, CD ../back to the parent directory, CD/back to the following directory
  20. Zip Compression
  21. Unzip unzipping
  22. Clear Interface
  23. Wget downloads files from a specified URL
  24. Ifconfig displays network configurations, which are the same as those in windows.
  25. Ping to view the network response time, just like Windows
  26. Passwd Change Password
  27. BC Calculator
  28. CTRL + C, exit any commandProgram
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.