I have to build a Buch of machines in work and have 30 odd linux commands to run. We use CentOS and I'm trying to find out if I can automate the process a little by having a script that cycles through the commands so I don't have to keep copy and pasting them.
I'm new to linux and could write a batch script in Windows but don't know what the linux equivalent is to search in google.
I would like to keep each command on its own line in a file, then have a window that basically asks the user "do you want to run this command xxxxxxxxxxx"
The user then presses "y" and it goes onto the next one etc etc.
Is this easy to do in linux?