wget --timeout=0 -q -t 1 -O - http://127.0.0.1/path/file.php >result.txt 2>result.txt
SORTIE=`cat result.txt | tr '\015\012' ' '`
echo $SORTIE
Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1395"></script>
On peut afficher les dernières lignes d’un fichier ou afficher en continu les ajouts à un fichier, ce qui peut être très utile pour surveiller un fichier de log (anglais: logfile), respectivement:
tail nom_fichier
tail -f nom_fichier
Dans ce dernier cas, on interrompt la commande avec CTRL-C.
Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1277"></script>