How to make a script that runs a line of commands one by one on CMD?
I need some programming help, i know its not the 'BEST' place to ask but wth..
On each server I need to do a manual copy pasting of around 18 commands in CMD one by one, its like:
- yum install -y wget
- yum install -y unzip
- yum install -y zip
- wget http://link.com/file.zip
- unzip file.zip
- cd file
- sh run.sh
etc upto 18 commands in total. Manual entry is required in only 3 of the commands above, rest is automatic.
I need a way where the commands should run one by one.
any help is appreciated..