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
#bash #linux #kali #wslg #100dasyofcode #bashscript #calendar #time #bashrc
100 days of code BASH edition! :linux:
Day 3, expanding on the previous script adding more statements to display more system variables dealing with time formats and calendars.
#BASH #Linux #Kali #WSLg #100DasyOfCode #BashScript #Calendar #Time #TimeZones
#bash #linux #kali #wslg #100dasyofcode #bashscript #calendar #time #timezones
100 days of code - BASH edition!
Day 2, using what I got from Open AI GTP-3, I expanded the script and made a few other statements to display additional system variables.
#BASH #Linux #Kali #WSLg #100DasyOfCode #OpenAi #GTP3 #BashScript
#bash #linux #kali #wslg #100dasyofcode #openai #gtp3 #bashscript
I found a #challenge that might be very interesting to do for some of us:
https://www.100daysofcode.com/about/
Have you ever tried it? What do you think?
#coding #programming #challenge #geek #learning #100dasyofcode
#100dasyofcode #learning #geek #programming #coding #challenge