Get Day Of Week in bash script April 3, 2023 by Tarik Use %u. Like this: DOW=$(date +%u) From the man page: %u day of week (1..7); 1 is Monday