Next step to make this script more efficient...?
I have just started learning shell scripts yestarday and want to tweak this so it automatically says yes to all questions of "are you sure?"
I understand programming concepts my problem is th syntax of shell scripting I dont know yet.
echo -e "\n"
echo -n "What program to be Deleted Completely: "
sudo apt-get remove $program
sudo apt-get autoremove
Use apt-get's -y, --yes or --assume-yes option. It is detailed in the apt-get man page.
Thanks I dont no why I didnt know that was there I looked through the apt man pages before that definitely did the trick.
|All times are GMT -5. The time now is 09:06 AM.|