$ mkdir eljefe $ cd eljefe $ mkdir virthosts $ echo '68.12.54.142' > virthosts/one $ echo '68.12.54.142' > virthosts/two $ echo '68.12.54.142' > virthosts/three $ ./change.sh Done with "./virthosts/drei". Done with "./virthosts/eins". Done with "./virthosts/zwei". $ cat virthosts/one 68.12.54.142 65.43.123.23 $ cat virthosts/two 68.12.54.142 65.43.123.23 $