Created
June 17, 2019 09:32
-
-
Save michelep/ee73e3ee028d7fe8e9ed023718d6cefa to your computer and use it in GitHub Desktop.
Replica pacchetti tra server
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
Elenco pacchetti installati: | |
# dpkg --get-selections > elenco.txt | |
ripulisci l'elenco: | |
# awk '{print $1}' elenco.txt > elenco.lst | |
script bash per installare i pacchetti: | |
#!/bin/bash | |
while read p; do | |
apt-get install -y "$p" | |
done <elenco.lst |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment