Code:
!#/bin/bash
clear
echo $*
dirname="`date +%N`"
mkdir $dirname
cd $dirname
wget www.whatismyip.org
cat index.html
echo ""
rm index.html
pwd
cd ..
pwd
rmdir $dirname
erzeugt folgende ausgabe:
Zitat:
--11:44:59-- http://www.whatismyip.org/
=> `index.html'
Resolving www.whatismyip.org... 206.176.224.3
Connecting to www.whatismyip.org|206.176.224.3|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14 [text/plain]
100%[====================================>] 14 --.--K/s
11:44:59 (1.99 KB/s) - `index.html' saved [14/14]
85.125.155.156
/cygdrive/d/959867000
/cygdrive/d
Potassium@fluor:~$
|
ich will aber blos
als ausgabe haben. wie kann ich das denn machen?
gibts sowas a la @echo off ?