How to push/send message to iOS and Android from Linux CLI

Originally published at: https://www.cyberciti.biz/mobile-devices/android/how-to-push-send-message-to-ios-and-android-from-linux-cli/

How to push or send message to iOS and Android

One of the essential tasks for developers and sysadmin is to get an alert notification about failed services or running out of disk space and other critical failures. Let us see how to send or push a direct message to a mobile device powered by Apple iOS or Google Android phone.

“Way too complex” to implement and maintain. It’s much easier to use a Telegram bot for this. You can also add the bot to a group chat and have it deliver critical notifications to multiple users with half of the trouble. Also who wants to have a dummy push app when you can just take advantage of Telegram?

This script https://github.com/fabianonline/telegram.sh makes it easy and portable to dispatch messages to Telegram.

1 Like

Linux sysadmin blog - Linux/Unix Howtos and Tutorials - Linux bash shell scripting wiki