Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
April 21, 2022 12:55 pm GMT

How to automate checking for Ubuntu 22.4 release

So, Ubuntu 22.04 LTS is due today, but the actual time of release is uncertain. If you are refreshing their site like me to be the first to download it, don't -- automate it instead. Here's my little bash script to alert me automatically as soon as 22 rolls out:

{  function func_name () {    FOUND=`curl -s https://ubuntu.com/download/desktop | grep 'Ubuntu 22'`    echo $FOUND;    if [ ! -z "$FOUND" ]; then      spd-say "Ubuntu 22 is out"    fi  }  export -f func_name  watch -n 5 -x bash -c func_name}

Original Link: https://dev.to/makar2/how-to-automate-checking-for-ubuntu-224-release-1fb6

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To