Created
January 28, 2013 01:10
-
-
Save bennuttall/4651898 to your computer and use it in GitHub Desktop.
Code snippets from Bash Batch Install Basics blog post
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
apps=( | |
vim | |
git | |
tree | |
php5 | |
) | |
# Loop over apps and install each one with default 'yes' flag | |
for app in "${apps[@]}" | |
do | |
apt-get install $app -y | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment