티스토리 뷰
공부
[Sh] date -d '+1 hour' '+%Y %m%d%H' (yyyyMMddHH=`date +%Y%m%d%H`) `date +%Y%m%d -d '1 days ago'`
seunggabi 승가비 2021. 3. 1. 17:38728x90
yyyyMMddHH=`date +%Y%m%d%H`
yyyyMMddHH=_yesterday`date +%Y%m%d -d '1 days ago'`
stackoverflow.com/questions/16142973/add-some-specific-time-while-using-the-linux-command-date
Add some specific time while using the linux command "date"
In linux, date can help me to print the current time. If want to print the current time + 1 hour, what option should I give?
stackoverflow.com
728x90
'공부' 카테고리의 다른 글
[Python] max float (0) | 2021.03.14 |
---|---|
[Java] convert Map to List (0) | 2021.03.14 |
[Sh] date -d '+1 hour' '+%Y %m%d%H' (yyyyMMddHH=`date +%Y%m%d%H`) `date +%Y%m%d -d '1 days ago'` (0) | 2021.03.01 |
[Python] Extracting an attribute value with beautifulsoup (0) | 2021.02.26 |
[Spark] What's the difference between --archives, --files, py-files in pyspark job arguments (0) | 2021.02.25 |
[HDFS] update file (get & put)) (0) | 2021.02.25 |
댓글