Skip to content

Instantly share code, notes, and snippets.

@noherczeg
Created November 25, 2014 14:02
Show Gist options
  • Save noherczeg/4153edd98771d01ad039 to your computer and use it in GitHub Desktop.
Save noherczeg/4153edd98771d01ad039 to your computer and use it in GitHub Desktop.
linux commad to get date before x days
date '+%Y-%m-%d' --date='1 days ago'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment