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