DEV Community

Discussion on: Build a network speed monitor in bash with AWK

Collapse
 
alltorx profile image
Buffalo_Overflow • Edited

Thanks! Worth noting that if your default shell is not bash, this may not work, but adding in #!/bin/bash to the top will instruct bash to execute the rest of the script.

I note this because I was scratching my head for a minute or two trying to figure out why it wasn't working - ha.

Collapse
 
navarroaxel profile image
Axel Navarro

Oh sorry for that! 🙏 I tried to keep the code easy and clean lol.

Collapse
 
alltorx profile image
Buffalo_Overflow

Oh nothing to be sorry about at all, it was just in case someone else had the same issue. Most folks will be using bash, and if they're not, will probably be aware of what to do! (: