100 days of code BASH edition
đ» Day 4 created my own system variable, made persistent within the .bashrc file.
[export hoy="$((date +"%H") | awk '{if ($1 < 12) print "morning"; else if ($1 >= 12 && 1 < 17) print "afternoon"; else if ($1 >= 17 && $1 < 20) print "evening"; else print "night";}')"] (OpenAI GPT-3 script with few corrections) Displays the time of day in morning/afternoon/evening/and night format!
#BASH #Linux #Kali #WSLg #100DasyOfCode #BashScript #Calendar #Time #bashrc
