ping - How to check if my device (iOS) have internet connection via bash -


in linux using line of code easy:

if ping -c 4 google.com ; echo ok ; else echo ko ; fi 

but in ios, ping command not available. workaround? or can access system plist file in ios connectivity status?


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -