hmm I'm not 100% getting the clue sorry..
here's the script:
getip.sh
#!/bin/bash
ping "$1" 64 1 | grep -o '[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}' | uniq
now if I type
$ getip.sh neusbeer.nl
130.12.321.100
it will result in my ip as output now I want to direct this ip to
WhatWeb (Wich identify the server,ect).
whatweb's normaly commands with
./whatweb <ip>
How can I resolve this in such I can combine various outputs from my
small bash scripts.