How can use "date" command show date of yesterday?
I can't find any option of this command to do that. I can minus today's date by 1. Anyway, a problem will happen on a joint of each month.
I used awk command for arrange data.
awk -f script.sh input.file > output.file
#output.file
4549659
5807257
05720
8450405
How can I put real time from date command while running script in front of these data?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.