<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://noctkj.net/index.php?action=history&amp;feed=atom&amp;title=Linux_%3A_Perintah_tail</id>
	<title>Linux : Perintah tail - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://noctkj.net/index.php?action=history&amp;feed=atom&amp;title=Linux_%3A_Perintah_tail"/>
	<link rel="alternate" type="text/html" href="http://noctkj.net/index.php?title=Linux_:_Perintah_tail&amp;action=history"/>
	<updated>2026-05-18T15:17:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>http://noctkj.net/index.php?title=Linux_:_Perintah_tail&amp;diff=1019&amp;oldid=prev</id>
		<title>Novy: Protected &quot;Linux : Perintah tail&quot; ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading]</title>
		<link rel="alternate" type="text/html" href="http://noctkj.net/index.php?title=Linux_:_Perintah_tail&amp;diff=1019&amp;oldid=prev"/>
		<updated>2025-11-03T01:24:19Z</updated>

		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/index.php/Linux_:_Perintah_tail&quot; title=&quot;Linux : Perintah tail&quot;&gt;Linux : Perintah tail&lt;/a&gt;&amp;quot; ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading]&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 08:24, 3 November 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Novy</name></author>
	</entry>
	<entry>
		<id>http://noctkj.net/index.php?title=Linux_:_Perintah_tail&amp;diff=1018&amp;oldid=prev</id>
		<title>Novy: Created page with &quot;tux &lt;code&gt;tail&lt;/code&gt; adalah perintah Linux yang digunakan untuk &#039;&#039;&#039;menampilkan baris terakhir&#039;&#039;&#039; dari sebuah file teks.  Biasanya dipakai untuk melihat &#039;&#039;&#039;log server&#039;&#039;&#039;, &#039;&#039;&#039;output real-time&#039;&#039;&#039;, dan &#039;&#039;&#039;debugging&#039;&#039;&#039;. {| class=&quot;wikitable&quot; !&#039;&#039;&#039;Atribut&#039;&#039;&#039; !&#039;&#039;&#039;Keterangan&#039;&#039;&#039; !&#039;&#039;&#039;Contoh Aplikatif&#039;&#039;&#039; |- |&#039;&#039;(tanpa atribut)&#039;&#039; |Menampilkan &#039;&#039;&#039;10 baris terakhir&#039;&#039;&#039; dari file |&lt;code&gt;tail /var/log/syslog&lt;/code&gt; → Melihat 10 baris terakhir log sistem |- |&lt;code&gt;-...&quot;</title>
		<link rel="alternate" type="text/html" href="http://noctkj.net/index.php?title=Linux_:_Perintah_tail&amp;diff=1018&amp;oldid=prev"/>
		<updated>2025-11-03T01:24:10Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/index.php/File:Tux.png&quot; title=&quot;File:Tux.png&quot;&gt;thumb|tux&lt;/a&gt; &amp;lt;code&amp;gt;tail&amp;lt;/code&amp;gt; adalah perintah Linux yang digunakan untuk &amp;#039;&amp;#039;&amp;#039;menampilkan baris terakhir&amp;#039;&amp;#039;&amp;#039; dari sebuah file teks.  Biasanya dipakai untuk melihat &amp;#039;&amp;#039;&amp;#039;log server&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;output real-time&amp;#039;&amp;#039;&amp;#039;, dan &amp;#039;&amp;#039;&amp;#039;debugging&amp;#039;&amp;#039;&amp;#039;. {| class=&amp;quot;wikitable&amp;quot; !&amp;#039;&amp;#039;&amp;#039;Atribut&amp;#039;&amp;#039;&amp;#039; !&amp;#039;&amp;#039;&amp;#039;Keterangan&amp;#039;&amp;#039;&amp;#039; !&amp;#039;&amp;#039;&amp;#039;Contoh Aplikatif&amp;#039;&amp;#039;&amp;#039; |- |&amp;#039;&amp;#039;(tanpa atribut)&amp;#039;&amp;#039; |Menampilkan &amp;#039;&amp;#039;&amp;#039;10 baris terakhir&amp;#039;&amp;#039;&amp;#039; dari file |&amp;lt;code&amp;gt;tail /var/log/syslog&amp;lt;/code&amp;gt; → Melihat 10 baris terakhir log sistem |- |&amp;lt;code&amp;gt;-...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[File:Tux.png|thumb|tux]]&lt;br /&gt;
&amp;lt;code&amp;gt;tail&amp;lt;/code&amp;gt; adalah perintah Linux yang digunakan untuk &amp;#039;&amp;#039;&amp;#039;menampilkan baris terakhir&amp;#039;&amp;#039;&amp;#039; dari sebuah file teks.&lt;br /&gt;
&lt;br /&gt;
Biasanya dipakai untuk melihat &amp;#039;&amp;#039;&amp;#039;log server&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;output real-time&amp;#039;&amp;#039;&amp;#039;, dan &amp;#039;&amp;#039;&amp;#039;debugging&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!&amp;#039;&amp;#039;&amp;#039;Atribut&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
!&amp;#039;&amp;#039;&amp;#039;Keterangan&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
!&amp;#039;&amp;#039;&amp;#039;Contoh Aplikatif&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;(tanpa atribut)&amp;#039;&amp;#039;&lt;br /&gt;
|Menampilkan &amp;#039;&amp;#039;&amp;#039;10 baris terakhir&amp;#039;&amp;#039;&amp;#039; dari file&lt;br /&gt;
|&amp;lt;code&amp;gt;tail /var/log/syslog&amp;lt;/code&amp;gt; → Melihat 10 baris terakhir log sistem&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;-n &amp;lt;jumlah&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|Menampilkan &amp;#039;&amp;#039;&amp;#039;jumlah baris tertentu&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|&amp;lt;code&amp;gt;tail -n 20 /var/log/auth.log&amp;lt;/code&amp;gt; → Menampilkan 20 baris terakhir log autentikasi&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;-f&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Follow mode&amp;#039;&amp;#039;&amp;#039;: menampilkan isi file secara &amp;#039;&amp;#039;&amp;#039;real-time&amp;#039;&amp;#039;&amp;#039;, sangat berguna untuk memonitor log&lt;br /&gt;
|&amp;lt;code&amp;gt;tail -f /var/log/nginx/access.log&amp;lt;/code&amp;gt; → Monitoring traffic web server secara real-time&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;-F&amp;lt;/code&amp;gt;&lt;br /&gt;
|Hampir sama seperti &amp;lt;code&amp;gt;-f&amp;lt;/code&amp;gt; tetapi jika file di-rotate atau dibuat ulang, &amp;lt;code&amp;gt;tail&amp;lt;/code&amp;gt; tetap mengikuti file baru&lt;br /&gt;
|&amp;lt;code&amp;gt;tail -F /var/log/syslog&amp;lt;/code&amp;gt; → Memantau log meskipun file log di-rotate&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;-c &amp;lt;jumlah&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|Menampilkan &amp;#039;&amp;#039;&amp;#039;jumlah byte&amp;#039;&amp;#039;&amp;#039; terakhir dari file (bukan baris)&lt;br /&gt;
|&amp;lt;code&amp;gt;tail -c 50 myfile.txt&amp;lt;/code&amp;gt; → Menampilkan 50 byte terakhir dari file&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;--pid=&amp;lt;PID&amp;gt;&amp;lt;/code&amp;gt; + &amp;lt;code&amp;gt;-f&amp;lt;/code&amp;gt;&lt;br /&gt;
|Mengikuti file secara real-time &amp;#039;&amp;#039;&amp;#039;hingga proses tertentu berhenti&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|&amp;lt;code&amp;gt;tail -f /var/log/mysql/error.log --pid=2501&amp;lt;/code&amp;gt; → Berhenti ketika proses MySQL PID 2501 berhenti&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;-q&amp;lt;/code&amp;gt;&lt;br /&gt;
|“Quiet mode”: tidak menampilkan nama file saat membuka beberapa file&lt;br /&gt;
|&amp;lt;code&amp;gt;tail -q file1.txt file2.txt&amp;lt;/code&amp;gt; → Menampilkan isi tanpa header nama file&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;-v&amp;lt;/code&amp;gt;&lt;br /&gt;
|“Verbose mode”: selalu menampilkan nama file, bahkan jika hanya satu file&lt;br /&gt;
|&amp;lt;code&amp;gt;tail -v file.txt&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;-s &amp;lt;detik&amp;gt;&amp;lt;/code&amp;gt; + &amp;lt;code&amp;gt;-f&amp;lt;/code&amp;gt;&lt;br /&gt;
|Mengatur interval pembacaan file (default 1 detik)&lt;br /&gt;
|&amp;lt;code&amp;gt;tail -f -s 2 /var/log/syslog&amp;lt;/code&amp;gt; → Membaca update setiap 2 detik&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;--help&amp;lt;/code&amp;gt;&lt;br /&gt;
|Menampilkan bantuan perintah&lt;br /&gt;
|&amp;lt;code&amp;gt;tail --help&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;--version&amp;lt;/code&amp;gt;&lt;br /&gt;
|Menampilkan versi &amp;lt;code&amp;gt;tail&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;code&amp;gt;tail --version&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
Penggunaan &amp;lt;code&amp;gt;tail&amp;lt;/code&amp;gt; Secara Aplikatif&lt;br /&gt;
&lt;br /&gt;
1. Melihat 15 baris terakhir log sistem&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
tail -n 15 /var/log/syslog&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;2. Monitoring log web server secara real-time&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
tail -f /var/log/nginx/error.log&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;3. Monitoring log sambil menunggu proses selesai&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
tail -f /var/log/mysql/error.log --pid=2003&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;4. Menampilkan 100 byte terakhir dari file&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
tail -c 100 backup.tar&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;5. Monitoring log dengan interval lambat (setiap 3 detik)&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
tail -f -s 3 /var/log/auth.log&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;6. Membuka beberapa file tanpa header&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
tail -q file1.txt file2.txt&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Novy</name></author>
	</entry>
</feed>