Create directory: mkdir directory name
Create file: Vim file name and write file content Touch file name
View File: Cat file name
View Directory: CD directory ll directory under file or directory details ls display directory under file name
Delete file contents: Cat > File name
Write file content: Vim file name
Rename a file or directory: MV file or directory name
Delete a file or directory: RM-RF file or directory name
Change file or directory permissions: chmod permissions digital file or directory name r=4 read m=2 write X=1 Execute
Copy directory: CP-RF the path or CP where the current file path is copied to
Copy file: Cat file name > file name Overwrite original file contents cat file name >> file name redirect Append original file end
Cross-server replication: Scp-r-P (uppercase P) 5888 current server file path cross-service User: Server address: User name
Compressed file or directory: Zip directory. zip directory unzip directory. zip
TAR-CVF directory. Tar directory tar-xvf directory. Tar
View process: Ps-ef |GERP process name (API CMS)
Kill process: kill-9 process number
Start process: Bin directory under startup.sh./startup.sh
Boot process appears java_home:source/etc/profile reboot system file
The configuration file for the code package is copied under the classes file. War package to work, replace the configuration file, check the process, delete the WebApps process under the. War code package, copy the. War package to replace the classes configuration file to WebApps, and start the process.
The replacement configuration file is due to the occasional development of negligence that would mistake the database.
2017-10-2: Review Linux commands