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