<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="es">
	<id>https://wiki.cabal.mx/index.php?action=history&amp;feed=atom&amp;title=Comandos_de_la_terminal%2Ftail</id>
	<title>Comandos de la terminal/tail - Historial de revisiones</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.cabal.mx/index.php?action=history&amp;feed=atom&amp;title=Comandos_de_la_terminal%2Ftail"/>
	<link rel="alternate" type="text/html" href="https://wiki.cabal.mx/index.php?title=Comandos_de_la_terminal/tail&amp;action=history"/>
	<updated>2026-04-05T05:15:36Z</updated>
	<subtitle>Historial de revisiones para esta página en el wiki</subtitle>
	<generator>MediaWiki 1.32.1</generator>
	<entry>
		<id>https://wiki.cabal.mx/index.php?title=Comandos_de_la_terminal/tail&amp;diff=5045&amp;oldid=prev</id>
		<title>Rrc en 03:30 5 dic 2013</title>
		<link rel="alternate" type="text/html" href="https://wiki.cabal.mx/index.php?title=Comandos_de_la_terminal/tail&amp;diff=5045&amp;oldid=prev"/>
		<updated>2013-12-05T03:30:01Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nueva&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__&lt;br /&gt;
* [[:#tail | tail]]&lt;br /&gt;
&lt;br /&gt;
== tail ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 tail [OPTION]... [FILE]...&lt;br /&gt;
&lt;br /&gt;
       -c, --bytes=K&lt;br /&gt;
              output the last K bytes; alternatively,  use  -c  +K  to  output&lt;br /&gt;
              bytes starting with the Kth of each file&lt;br /&gt;
&lt;br /&gt;
       -f, --follow[={name|descriptor}]&lt;br /&gt;
              output appended data as the file grows; -f, --follow, and --fol‐&lt;br /&gt;
              low=descriptor are equivalent&lt;br /&gt;
&lt;br /&gt;
       -F     same as --follow=name --retry&lt;br /&gt;
&lt;br /&gt;
       -n, --lines=K&lt;br /&gt;
              output the last K lines, instead of the last 10; or use -n +K to&lt;br /&gt;
              output lines starting with the Kth&lt;br /&gt;
&lt;br /&gt;
       --max-unchanged-stats=N&lt;br /&gt;
              with  --follow=name,  reopen  a  FILE which has not changed size&lt;br /&gt;
              after N (default 5) iterations to see if it has been unlinked or&lt;br /&gt;
              renamed  (this  is  the  usual case of rotated log files).  With&lt;br /&gt;
              inotify, this option is rarely useful.&lt;br /&gt;
&lt;br /&gt;
       --pid=PID&lt;br /&gt;
              with -f, terminate after process ID, PID dies&lt;br /&gt;
&lt;br /&gt;
       -q, --quiet, --silent&lt;br /&gt;
              never output headers giving file names&lt;br /&gt;
&lt;br /&gt;
       --retry&lt;br /&gt;
              keep trying to open a file even when it is or becomes inaccessi‐&lt;br /&gt;
              ble; useful when following by name, i.e., with --follow=name&lt;br /&gt;
&lt;br /&gt;
       -s, --sleep-interval=N&lt;br /&gt;
              with -f, sleep for approximately N seconds (default 1.0) between&lt;br /&gt;
              iterations.  With inotify and --pid=P, check process P at  least&lt;br /&gt;
              once every N seconds.&lt;br /&gt;
&lt;br /&gt;
       -v, --verbose&lt;br /&gt;
              always output headers giving file names&lt;br /&gt;
&lt;br /&gt;
       --help display this help and exit&lt;br /&gt;
&lt;br /&gt;
       --version&lt;br /&gt;
              output version information and exit&lt;br /&gt;
&lt;br /&gt;
       If  the  first  character of K (the number of bytes or lines) is a &amp;#039;+&amp;#039;,&lt;br /&gt;
       print beginning with the Kth item from the start of each  file,  other‐&lt;br /&gt;
       wise, print the last K items in the file.  K may have a multiplier suf‐&lt;br /&gt;
       fix:  b  512,  kB  1000,  K  1024,  MB  1000*1000,  M   1024*1024,   GB&lt;br /&gt;
       1000*1000*1000, G 1024*1024*1024, and so on for T, P, E, Z, Y.&lt;br /&gt;
&lt;br /&gt;
[rrc@pridd ~]$ tail /var/www/almastock.asambiental.mx/index.php &lt;br /&gt;
        else&lt;br /&gt;
          print( &amp;quot;&amp;lt;p style=\&amp;quot;text-align:center; margin-top:3px;\&amp;quot;&amp;gt;&lt;br /&gt;
                    &amp;lt;img src=\&amp;quot;imagenes/asa_logo.png\&amp;quot; alt=\&amp;quot;asa_logo.png\&amp;quot; /&amp;gt;&lt;br /&gt;
                  &amp;lt;/p&amp;gt;&amp;quot; );&lt;br /&gt;
        if( isset( $Block ) )&lt;br /&gt;
          echo( &amp;quot;$Block&amp;quot; );&lt;br /&gt;
      ?&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[rrc@pridd ~]$ tail -c 235 /var/www/almastock.asambiental.mx/index.php &lt;br /&gt;
align:center; margin-top:3px;\&amp;quot;&amp;gt;&lt;br /&gt;
                    &amp;lt;img src=\&amp;quot;imagenes/asa_logo.png\&amp;quot; alt=\&amp;quot;asa_logo.png\&amp;quot; /&amp;gt;&lt;br /&gt;
                  &amp;lt;/p&amp;gt;&amp;quot; );&lt;br /&gt;
        if( isset( $Block ) )&lt;br /&gt;
          echo( &amp;quot;$Block&amp;quot; );&lt;br /&gt;
      ?&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[rrc@pridd ~]$ tail -c +11500 /var/www/almastock.asambiental.mx/index.php &lt;br /&gt;
-align:center; margin-top:3px;\&amp;quot;&amp;gt;&lt;br /&gt;
                    &amp;lt;img src=\&amp;quot;imagenes/asa_logo.png\&amp;quot; alt=\&amp;quot;asa_logo.png\&amp;quot; /&amp;gt;&lt;br /&gt;
                  &amp;lt;/p&amp;gt;&amp;quot; );&lt;br /&gt;
        if( isset( $Block ) )&lt;br /&gt;
          echo( &amp;quot;$Block&amp;quot; );&lt;br /&gt;
      ?&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[rrc@pridd ~]$ tail -c +11K /var/www/almastock.asambiental.mx/index.php &lt;br /&gt;
rel=&amp;quot;stylesheet&amp;quot; type=&amp;quot;text/css&amp;quot; href=&amp;quot;includes/Almastock.css&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;/head&amp;gt;&lt;br /&gt;
  &amp;lt;body&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;?php&lt;br /&gt;
        if( @$_SESSION{&amp;#039;Nivel&amp;#039;} )&lt;br /&gt;
          require( &amp;quot;Menu.php&amp;quot; );&lt;br /&gt;
        else&lt;br /&gt;
          print( &amp;quot;&amp;lt;p style=\&amp;quot;text-align:center; margin-top:3px;\&amp;quot;&amp;gt;&lt;br /&gt;
                    &amp;lt;img src=\&amp;quot;imagenes/asa_logo.png\&amp;quot; alt=\&amp;quot;asa_logo.png\&amp;quot; /&amp;gt;&lt;br /&gt;
                  &amp;lt;/p&amp;gt;&amp;quot; );&lt;br /&gt;
        if( isset( $Block ) )&lt;br /&gt;
          echo( &amp;quot;$Block&amp;quot; );&lt;br /&gt;
      ?&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[rrc@pridd ~]$ tail -n 5 /var/www/almastock.asambiental.mx/index.php &lt;br /&gt;
          echo( &amp;quot;$Block&amp;quot; );&lt;br /&gt;
      ?&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[rrc@pridd ~]$ tail -n +360 /var/www/almastock.asambiental.mx/index.php &lt;br /&gt;
        if( isset( $Block ) )&lt;br /&gt;
          echo( &amp;quot;$Block&amp;quot; );&lt;br /&gt;
      ?&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[rrc@pridd ~]$ tail -vn +360 /var/www/almastock.asambiental.mx/index.php &lt;br /&gt;
==&amp;gt; /var/www/almastock.asambiental.mx/index.php &amp;lt;==&lt;br /&gt;
        if( isset( $Block ) )&lt;br /&gt;
          echo( &amp;quot;$Block&amp;quot; );&lt;br /&gt;
      ?&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[rrc@pridd ~]$ tail --version&lt;br /&gt;
tail (GNU coreutils) 8.20&lt;br /&gt;
Copyright (C) 2012 Free Software Foundation, Inc.&lt;br /&gt;
License GPLv3+: GNU GPL version 3 or later &amp;lt;http://gnu.org/licenses/gpl.html&amp;gt;.&lt;br /&gt;
This is free software: you are free to change and redistribute it.&lt;br /&gt;
There is NO WARRANTY, to the extent permitted by law.&lt;br /&gt;
&lt;br /&gt;
Written by Paul Rubin, David MacKenzie, Ian Lance Taylor,&lt;br /&gt;
and Jim Meyering.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Comandos de la terminal]]&lt;/div&gt;</summary>
		<author><name>Rrc</name></author>
		
	</entry>
</feed>