curl hide progress bar output on Linux/Unix shell scripts

last updated in Categories , ,

I am a new Ubuntu Linux user. I am writing a shell script and using the curl command to grab URL output using curl https://example.com/data/api/$key/hash.html. However, the curl command is outputting complete progress information that my script does not need it. How can I get curl command not to show the progress bar output? How can I hide curl command output? Is there is a simple way for silencing curl’s progress output on an Ubuntu Linux desktop?

pfSense email notification when fallback WAN connection goes down

last updated in Categories , , ,

I have two WAN connection. The first WAN connection connects via FTTH modem. The second connection connects via 4G LTE CPE modem. I have configured fallback and load balanced dual WAN connection on my pfSense box. However, once in while the Internet connection either one of the WAN goes down. How can I tell pfSense to send an email notification when fallback (or any) WAN connection goes down? How to configure pfSense email notification when an alert happens?