Computer and IT knowledge - things to know
>> dependencies:
dnf install jq
>> add the following lines to the bottom of /etc/profile:
# Function to fetch and display a random quote
display_daily_quote() {
quote=$(curl -s "https://api.quotable.io/random" | jq -r '.content + " - " + .author')
echo
echo "Daily Quote:"
echo "-------------"
echo "$quote"
echo
}
# Call the function to display the
display_daily_quote()
computer2know :: thank you for your visit :: have a nice day :: © 2024