Makar
Posted on April 21, 2022
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
}
π πͺ π
π©
Makar
Posted on April 21, 2022
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.