1. Clear Erase Screen
2, LS View all files or folders under the directory
3, su root switch to root user
The SU user name switches to the user
4. mkdir Folder name new Folder
5, Rm-r folder or file name to delete folders or files, will prompt (if the prompt permission is insufficient, please switch to the root user and then delete)
Rm-rf folder or file name directly forcibly delete folder or files, do not prompt, must be cautious
6, TAR-ZXVF jdk-7u79-linux-x64.tar.gz Extract Files
7. CP source file destination file copy file
8, File upload Download (rz,sz file name) file Upload command for RZ, download command for SZ, but Linux may not have installed the Upload tool, so the input RZ and SZ will be prompted to find the command. So you need to use the command to install the tool. Enter the Yum install-y lrzsz on the command line.
After installing the File Upload Tool at the command line to enter RZ will pop up the file selection dialog box, select the file will be automatically uploaded, download can be entered in the command line "SZ file name" can be directly downloaded
9, tomcat start: Generally execute sh tomcat/bin/startup.sh, stop: General is the execution Sh tomcat/bin/shutdown.sh script command
Other operations:
1. Installing the JDK
Reference URL: http://www.linuxidc.com/Linux/2016-09/134941.htm
Common basic commands for Linux