http://www.julietmikebravo.nl/index.php/2010/10/04/ds1820-temp-monitoring-using-linux-and-cacti/
February 19, 2012
February 14, 2012
February 14, 2012
February 9, 2012
Script for sending a message from a file:
#!/bin/bash
# $1 = telephone number
# $2 = text file
gammu sendsms text $1 -report < $2
—————
Command line for sending a message:
$ echo “message to send” | gammu sendsms text <phone number> -report
—————
With gammu smsd, by using the RunOnReceive directives, it is possible to send the received SMS to email.
Command line for sending email:
$ mail -s “subject email” <email address> < text_file
here more info:
http://raynux.com/blog/2011/04/11/send-mail-from-unixlinux-bash-shell-script/
February 9, 2012
February 8, 2012
February 1, 2012
January 28, 2012
How to mount a partition image created with dd
Posted by giovanni under UncategorizedLeave a Comment
# mount -o ro,loop /home/giovanni/hardware/ns-k330/naso2/disco_debian_naso.img /mnt/tmp/
January 28, 2012
How to copy files with scp without following symbolic links
Posted by giovanni under UncategorizedLeave a Comment
cd /destination/directory ssh user@remote.host "cd /original/directory; tar cf - ./" | tar xvf -
January 27, 2012