How to get a day before current time in Bash

Posted In Shell - By Tum. On Thursday, March 13th, 2014 With 0 Comments

bash
การแสดงวันที่ของเมื่อวานหรือก่อนหน้า บน bash ทำได้โดยใช้ option -d ดังตัวอย่างดังนี้

แสดงวันที่เมื่อวาน

หรือ

แสดงวันที่เมื่อ 3 วันก่อน

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

*