sigue lo mismo:
./imagen_dinamica.csh
% Total % Received % Xferd Average Speed Time Curr.
Dload Upload Total Current Left Speed
100 221 0 221 0 0 18 0 --:--:-- 0:00:12 --:--:-- 2009
variable: Variable indefinida.
el script esta asi:
Código PHP:
#/bin/bash
curl http://wwwghcc.msfc.nasa.gov/cgi-bin...on=-93\&zoom=2 | grep jpg | cut -d '"' -f2 > jotapege
$variable=`cat jotapege`
wget http://wwwghcc.msfc.nasa.gov/$variable
gracias