Https://www.cnblogs.com/handsomecui/p/5869361.html
76358587
Because always want to learn automation, writing automation is the key to the usual repetition of the manual process with code implementation, directly run this code instead of manual operation.
So, the first to learn a programming language, and then have to have the usual manual operation into programming thinking.
Programming language, previously learned C #, is now learning Python. But it's never been used.
Now there is an idea because there is a small project that is more suitable for automation. is to deploy a server. This every time there is a new version to be deployed, and each time to modify some files, the modified program is more fixed and cumbersome, a waste of time, sometimes need to repeatedly modify the same field, a little attention to change the wrong, the program will not run up. So, this is perfect for automating. Take this as the starting point, first cultivate the programming thinking.
The main requirements for this deployment process are: Switch directories, unzip folders, copy folders, modify file contents, and then run the startup program.
The above two blogs serve as a reference material for learning.
Linux Learning Automation script (i)