Skip to content

Instantly share code, notes, and snippets.

@dmitrinesterenko
Created December 14, 2014 01:09
Show Gist options
  • Save dmitrinesterenko/e5737055252608756e55 to your computer and use it in GitHub Desktop.
Save dmitrinesterenko/e5737055252608756e55 to your computer and use it in GitHub Desktop.
Get x days from now in bash
date -d "-14 day" "+%F"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment