Hi, the follow can add the day time to my Log file
My_Log_$(date +%F).log
can I add the hour to the end of my log file then my log file will looks like
My_Log_07-24:(
Try
%H
at the end
1 Like
man date
...
...
date +%H-%M
2 Likes
Thanks all:)