I have begun playing with bash scripting and i want to make a very simple script for when i do a fresh reinstall.
Simply it is a list of:
"Sudo apt-get install XXX
Sudo apt-get install YYY...etc"
What i want to do is put in a question before each install so its something like:
"do you want to install XXX?
If yes sudo apt-get install XXX
if no continue onto the next line
do you want to install YYY?
If yes sudo apt-get install YYY
if no continue onto the next line...etc"



Adv Reply






Bookmarks