티스토리 뷰

공부

[Shell] Get date before 1 hour

승가비 2020. 2. 9. 03:01
728x90
date -d '1 hour ago' "+%m/%d/%Y -%H:%M:%S"

[reference] https://stackoverflow.com/questions/5934394/subtract-1-hour-from-date-in-unix-shell-script

728x90

'공부' 카테고리의 다른 글

[Linux] Open port  (0) 2020.02.13
[DBCP] Connection closed  (0) 2020.02.13
[Shell] Sizeof byte file  (0) 2020.02.09
[Python] Check array out of range  (0) 2020.02.09
[Python] Selenium clear cache  (0) 2020.02.09
댓글