For a variety of reasons, the company needs to bring the Java program into the war package. It was initially packaged with a ZIP command, which was available at first, but later unusable. Find a better way today. Use the jar command if you want to install the DK.
Package all the files in the current directory into Game.war
Jar-cvfm0 Game.war./
-C Create War package
-V Show Process information
-F
-M
-0 This is the Arabic numeral, only packing does not compress the meaning
Decompression Game.war
JAR-XVF Game.war
Extract to current directory
Download command (assuming your SSH tool supports RZ,SZ command best, Window (SECURECRTP), Mac (Install Lrzsz)):
sudo sz rds_service.war (window can be found in local download directory)
Related Linux commands:
File movement: sudo mv file name destination file path
File Rename: sudo mv current filename new file name
Folder copy: sudo cp-rf filename destination file
File Delete: sudo rm-rf filename destination file
Folder permissions modification: sudo chmod-r 777 folder
File remote copy: sudo scp xxx.war [email protected]:/alidata/www/tmp/
Linux package Compression War and pressure war package