티스토리 뷰
728x90
date +%Y%m%d -d 'next sunday - 1 week'
How to get last sunday's date from today's date using shell script?
I want to print the date of last Sunday by taking today's date as input for all days of the week except Sunday, but if it is Sunday then it should print today's date. I tried this, a=`date -dlast-
stackoverflow.com
728x90
'공부' 카테고리의 다른 글
[Java] re try catch (0) | 2021.02.09 |
---|---|
[Python] has key dict (0) | 2021.02.09 |
[Java] StringUtils.repeat("asdf", 3) (0) | 2021.01.31 |
[jQuery] each() (0) | 2021.01.31 |
[JS] moment.js moment().format('YYYY-MM-DD') (0) | 2021.01.31 |
댓글
250x250
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- Kluge
- 메디파크 내과 전문의 의학박사 김영수
- 인스타그램
- COUNT
- 팔로워 수 세기
- 테슬라 레퍼럴
- 테슬라
- 모델 Y 레퍼럴
- 레퍼럴
- 테슬라 리퍼럴 코드
- 어떻게 능력을 보여줄 것인가?
- 테슬라 크레딧 사용
- 테슬라 리퍼럴 코드 생성
- 테슬라 추천
- 테슬라 레퍼럴 코드 확인
- 할인
- 개리마커스
- follower
- wlw
- 클루지
- 테슬라 레퍼럴 적용 확인
- Bot
- 연애학개론
- 유투브
- 모델y
- 책그림
- 테슬라 리퍼럴 코드 혜택
- 김달
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
글 보관함