Although I constantly need it, I can never remember this. Maybe I’ll remember it now that I’ve posted it:
date +%s

The Get the unix epoch from BASH… by Jed Laundry, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 New Zealand License.

