can combine an instant message software with bash?
Hi, everyone, here I come, :D,with an interesting question:
Can I combine an instant message software with bash? Then the message I send to the instant message software (e.g pidgin) can be converted, in certain way, to a command of bash. Then I could control my laptop remotely. I'd like to amplify further: is this imagination possible: Quote:
if I made any ambiguity because of my poor English, I'm terribly sorry. Please tell me and I'll correct it. |
This is not a good idea.
The output of a given command can be very long, but text messages are limited to about two lines. Should a long output be truncated to the first two lines, or sent as possibly thousands of messages? That could be very expensive. Anyone can send your IM account a message. If that message should be "rm -r *", would you like bash to execute that for you? How about if that message was "echo 'You are an idiot' | Mail -s 'I quit' your@boss.job" ? If you want this sort of thing done sensibly, install webmin on your laptop and log into it using a browser. Possibly even one on your phone. But SMS is not a good fit. |
ssh
to control laptop remotely ,
why don't you just log into it using ssh ? find out your laptops ip , make sure /etc/rc.d/rc.sshd is running , and that is all |
putty + SSH is the way to go. If you want to control it from your phone get a PDA like a Treo or blackberry that has SSH software available.
|
Thank you all for these suggestions, I'll have a try.:)
|
All times are GMT -5. The time now is 07:13 AM. |