User Tools

Site Tools


bash:one_liners:find_last_day_of_the_month

This is an old revision of the document!


I needed to find the last Sunday of the month in relation to a backup script. This is the result:

ncal -h 2>&1 | awk '/Su/ {print $(NF)}'
bash/one_liners/find_last_day_of_the_month.1412535626.txt.gz · Last modified: 2015/08/15 22:56 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki