Created
December 15, 2016 15:01
-
-
Save kitusmark/23215cb74f8df57ec119c8610c089831 to your computer and use it in GitHub Desktop.
Little Script that deletes the packages contained in a file called packagesToRemove.list
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Little Script that deletes the packages contained in a file called packagesToRemove.list | |
packageFile="./packagesToRemove.list" | |
while IFS= read -r package | |
do | |
sudo apt-get -y -q autoremove $package | |
done < "$packageFile" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment