bash script to create txt files based on timestamp

Hi ,
please guide me for a bash script that will create a txt files and the name of the txt files will be as of timestamp so that each file name will be different from other and these files will be get created say after every 10 minutes in a folder(/home/p2000/sxs137), please guide me how would be the bash script would be...!!:confused:

$ while [ 1 ] ; do touch /home/p2000/sxs137/$(date +%Y%m%d%H%M%S).txt ; sleep 600 ;done
1 Like