Unix Defina o horário atual no nome do arquivo

echo "hello" > "$(date +"%Y_%m_%d_%I_%M_%p").txt"
Cerbrain