Deprecated: Array and string offset access syntax with curly braces is deprecated in /mnt/hep_web/hep_web/member/n-kota/dokuwiki/inc/init.php on line 542
ja:bash:wanttodo2

1日前の日付を取得

date -d '1 days ago'

とする。1をNに変えれば、N日前。