#!/bin/sh #start.sh #mit chmod 755 script.sh ausfuehrbar machen echo "1" > testdatenbla.text sleep 1 script.sh & script.sh & sleep 3 cat testdatenbla.text #!/bin/bash #script.sh #mit chmod 755 script.sh ausfuehrbar machen echo $(($(tail -n1 testdatenbla.text) + 1)) >> testdatenbla.text