Last Updated: September 09, 2019
·
1.179K
· typpo

Text yourself anything from the command line

Add to your .bashrc (replace 5555555555 with your number):

textme() {
  curl http://textbelt.com/text -d number=5555555555 -d "message=$1"                                             
}

Use like so:

textme "Hello world"

Textbelt is a free, open-sourced service that rate limits to reduce spam and only supports the following U.S. carriers for now:

Alltel, Ameritech, AT&T Wireless, Boost, CellularOne, Cingular, Sprint PCS, Telus Mobility, T-Mobile, Metro PCS, Nextel, O2, Orange, Qwest, Rogers Wireless, US Cellular, Verizon, Virgin Mobile.

3 Responses
Add your response

Great idea, too bad that textbelt doesn't seem to support non-US carriers.

over 1 year ago ·

Good point, I'll make a note of that.

over 1 year ago ·

Cool!
Works for me in Canada. I'm with Telus.

over 1 year ago ·