1. File string replacement, after the command is executed, the -- in the file is replaced by ===
sed -i "s/--/====/" ttt.log
2. The sh startup jar package does not take effect. Error: Enter the A directory, start the X.jar file, delete it, upload it again, and start it directly without re-entering the A directory, but the new package does not take effect.
Re-enter the A directory and start X.jar