Tag: time

Watching the disk space

If you want to repeat a command many times, for example you are monitoring something, then don’t forget about the…

Set Time

Set date and time – MonthDayhoursMinutesYear.Seconds date 041217002007.00

Find New Files

Search files created or changed within 10 days find /usr/bin -type f -mtime -10

Schedule a Download

Start a download at any given time echo ‘wget -c www.example.com/files.iso’ | at 09:00

Commands for Idle Time

I run this command when I go for lunch or something – these commands take a while to run. sudo…

Date Command

Create the MySQL format date(YYYY-MM-DD) using the date command date +%Y-%m-%d

Find Difference Between 2 Dates in PHP

This function will find the difference between two given times. Does PHP already have a native function for that? //The…