示例:执行命令:echo "111" >>/log/hive/All_StartHiveSQL_`date +%Y%m%d_%T`.log 2>&1结果:生成文件:All_StartHiveSQL_20201105_15:05:02.log