티스토리 뷰

공부

[Shell] Get date before 1 hour

seunggabi 승가비 2020. 2. 9. 03:01
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

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

[Linux] Open port  (0) 2020.02.13
[DBCP] Connection closed  (0) 2020.02.13
[Shell] Get date before 1 hour  (0) 2020.02.09
[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
댓글
댓글쓰기 폼