programming

How can I print yesterday’s date on my Linux server?

To print yesterday’s date, you can use the date command like this:

date –date=”1 days ago”

or

date –date=”yesterday”

Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

To Top