Randomly select a number between 0 and 1000, then use the date command to get the current timestamp in nanoseconds, and use that to rename the file "file.txt" to "file_[timestamp].txt".
shuf -i 0-1000 -n 1 | xargs -I num date +%s%N | xargs -I sec mv ./file.txt ./file_$sec.txt