Skip to content

Instantly share code, notes, and snippets.

@cdent
Forked from FND/webmail.sh
Created December 17, 2009 21:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cdent/259029 to your computer and use it in GitHub Desktop.
Save cdent/259029 to your computer and use it in GitHub Desktop.
#!/bin/sh
# replace with all the various variables and what not
cmd="wget -q -O - http://tiddlyweb.com |uuencode /dev/stdout|\
/usr/bin/mailx -s 'hello' fndo@gmx.net"
ssh -p 8022 heavy.peermore.com $cmd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment