Skip to content
Permalink
46a2e009dd
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
40 lines (37 sloc) 602 Bytes
#!/bin/bash
COMMAND="ls -l /scratch/local2/giesselm/*; rm -r /scratch/local2/giesselm/*"
declare -a hosts=(
"philosoraptor"
"rechnerzumrechnenvonrechenaufgaben"
"acedia"
"altmetall"
"avaritia"
"confessionbear"
"disastergirl"
"dontpanic"
"esodophobie"
"evilplottingraccoon"
"fordprefect"
"foreveralone"
"grumpycat"
"gula"
"gynaekophobie"
"hal101"
"hal102"
"internetguide"
"invidia"
"ira"
"luxuria"
"mylittlepony"
"nomnomnom"
"peanutbutterjellytime"
"shutupandtakemymoney"
"superbia"
"uselessbox"
"fluffybutt"
)
for host in "${hosts[@]}"
do
echo "Connecting to ${host}"
ssh $host "${COMMAND}"
done