You can use the stat command to view dates and times associated with Linux files, and the date command can do some handy conversions if you’d like to display the current time in the epoch format.
We looked at various ways to write scripts that would only run on the last day of the month in the column “Is this the last day of the month?”. Determining whether an arbitrary day is the last day of ...
Last week’s column introduced NTP, the Network Time Protocol and the concept of highly accurate timekeeping. While numerous commands exist to help system administrators maintain fairly accurate time ...
After typing “at” and the time the command should be run, at prompts you for the command to be run (in this case, the date command). Type ^D to complete your request. Assuming we set up this at ...