atarallo / TECMINT_MONITOR

A Shell Script to Monitor Network, Disk Usage, Uptime, Load Average and RAM Usage in Linux. Originally published on http://www.tecmint.com
Apache License 2.0
248 stars 145 forks source link

fixed all ShellCheck warnings including SC2015 & SC2006 & SC2002 #21

Closed Sim4n6 closed 8 years ago

Sim4n6 commented 8 years ago

please use $(..) instead of legacy '..'

and ping && || is not equal to ifthenelse

atarallo commented 8 years ago

Just being curious: How are you checking this?

Sim4n6 commented 8 years ago

Using ShellCheck https://github.com/koalaman/shellcheck very simple