while [ 1 ]; do echo "some text..."; done > data.txt&