I was wondering if there was a way to have a text message sent to a number (or email) that an Ubuntu computer could read, and that message would act as a command for the computer?

An example might be this: I'm running late to and I need my work computer to have program on itself for a meeting when I get there. I send a text containing sudo apt-get install program to the computer, and when I arrive everything will be downloaded.

Direct access to the terminal via text might not be possible or too risky, but would running bash/bin scripts be possible?

I've seen articles on this topic such as this that involve external programs like IF to get the message to the computer, but involve cellular data, local wifi, or outdated software with limited use. Is there any way send the texts to the designated ready to go computer, with nothing but a sms text from my phone?

  • You can install an ssh server and connect with your phone (over the internet) to the system. – Rinzwind Oct 25 '16 at 17:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.