-----Original Message----- From: Rene Engelhard [mailto:mail@rene-engelhard.de] Sent: Tuesday, November 27, 2001 12:09 AM To: Suse Maillingliste Subject: Re: IP Upload
Mario Wewer wrote:
Ich bin sicher, das mehrere von Euch dies schon des öfteren gemacht haben oder gar täglich nutzen oder?
Also ich nicht, aber ich kann mir das so vorstellen:
#!/bin/bash
IP=`/sbin/ifconfig <device> | grep "inet " | cut -d":" -f2 | cut -d" " -f1` export IP
echo "<html><head><title>Meine aktuelle IP</title></head>" > ip.html echo "<body><h2>Meine aktuelle IP</h2><p>Meine aktuelle IP ist:<br>" >> ip.html echo "<em>$IP<em><br></p>" >> ip.html
Hallo, /usr/local/bin/./ncftpput.dat -m -a -u <USERNAME> -p <PASSWORT> <HOST> /REMOTE DIR/ /LOCAL PATH/FILE.html ncftpput.dat bzw. ncftpput muesste bei suse dabei sein. wenn nicht, ich habs hier liegen. sind 108k :) -- MfG Yann Wissenbach www : http://www.world-wide-wait.de http://www.vw-opel-ig.de mail : yann@world-wide-wait.de ICQ : 98297452 Linux - Life is too short for reboots