Last active
April 9, 2020 09:41
-
-
Save simbafs/3bde8ab317346bb5c8c023a065f3552b to your computer and use it in GitHub Desktop.
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
declare -a cmd; | |
cmd+=('sudo apt update') | |
cmd+=('sudo apt install -y nmap net-tools mtr') | |
for i in ${!cmd[@]};do | |
echo "> ${cmd[$i]}" | |
${cmd[$i]} | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment