linux date unix timestamp code example Example: unix timestamp bash date +%s # Give the number of seconds since epoch