How to get current week number and other details with date in Linux
date +%j; date +%V; date +%u
%j
- day of year (001..366)
%V
- ISO week number, with Monday as first day of week (01..53)
%u
- day of week (1..7); 1 is Monday