Tags: texte,log

Sort by: Date / Title /

  1. 1 year ago by cyo
    1. wget --timeout=0 -q -t 1 -O -  http://127.0.0.1/path/file.php >result.txt 2>result.txt
    2. SORTIE=`cat result.txt | tr '\015\012' ' '`
    3. echo $SORTIE
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1395"></script>
  2. 1 year ago by cyo
    1. 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:
    2.  
    3. tail nom_fichier
    4. tail -f nom_fichier
    5.  
    6. 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>

First / Previous / Next / Last / Page 1 of 1 (2 posteets)