<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>cat Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/cat/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Thu, 27 Feb 2020 15:45:16 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.13</generator>
	<item>
		<title>The Linux cat command</title>
		<link>https://www.osradar.com/the-linux-cat-command/</link>
					<comments>https://www.osradar.com/the-linux-cat-command/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Sat, 29 Feb 2020 03:43:00 +0000</pubDate>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[cat]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=18651</guid>

					<description><![CDATA[<p>Friends today I am going to teach you about the Linux cat command. This command is quite simple to learn but quite useful in many situations. So, today we will teach it to you along with some examples so that you can better understand this command. The cat command is part of GNU CoreUtils and [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/the-linux-cat-command/">The Linux cat command</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Friends today I am going to teach you <strong>about the Linux cat command</strong>. This command is quite simple to learn but quite useful in many situations. So, today we will teach it to you along with some examples so that you can better understand this command.</p>



<p>The cat command is part of <a href="https://www.gnu.org/software/coreutils/manual/" target="_blank" rel="noreferrer noopener" aria-label="GNU CoreUtils (opens in a new tab)">GNU CoreUtils</a> and is mainly used to display by standard output the entire contents of a text file. This can be quite useful in many advanced tasks with the system, for example, sysadmin uses it quite a bit to view any file from the terminal.</p>



<p>On the other hand, the cat command is also used to create files because it allows you to capture standard input and assign it to an empty file. Of course, this possibility offered by the cat command is rarely used.</p>



<p>So let&#8217;s go for it.</p>



<h2>The Linux cat command</h2>



<p>Cat is a fairly simple command to use, it is also possible to use it on UNIX based systems such as FreeBSD. It has a basic syntax of use which is as follows:</p>



<pre class="wp-block-preformatted">cat [OPTION]… [FILE]…</pre>



<p>However, it has other options that extend the functionality of the command. If you want to show them, just use the following command:</p>



<pre class="wp-block-preformatted">:~$ cat --help
Usage: cat [OPTION]… [FILE]…
 Concatenate FILE(s) to standard output.
 With no FILE, or when FILE is -, read standard input.
 -A, --show-all           equivalent to -vET
   -b, --number-nonblank    number nonempty output lines, overrides -n
   -e                       equivalent to -vE
   -E, --show-ends          display $ at end of each line
   -n, --number             number all output lines
   -s, --squeeze-blank      suppress repeated empty output lines
   -t                       equivalent to -vT
   -T, --show-tabs          display TAB characters as ^I
   -u                       (ignored)
   -v, --show-nonprinting   use ^ and M- notation, except for LFD and TAB
       --help     display this help and exit
       --version  output version information and exit
 Examples:
   cat f - g  Output f's contents, then standard input, then g's contents.
   cat        Copy standard input to standard output.
 GNU coreutils online help: <a href="http://www.gnu.org/software/coreutils/">http://www.gnu.org/software/coreutils/</a>
 Full documentation at: <a href="http://www.gnu.org/software/coreutils/cat">http://www.gnu.org/software/coreutils/cat</a>
 or available locally via: info '(coreutils) cat invocation'</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="799" height="471" src="https://www.osradar.com/wp-content/uploads/2020/02/1-21.png" alt="1.- Cat command help" class="wp-image-18652" srcset="https://www.osradar.com/wp-content/uploads/2020/02/1-21.png 799w, https://www.osradar.com/wp-content/uploads/2020/02/1-21-300x177.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/1-21-768x453.png 768w, https://www.osradar.com/wp-content/uploads/2020/02/1-21-696x410.png 696w, https://www.osradar.com/wp-content/uploads/2020/02/1-21-712x420.png 712w" sizes="(max-width: 799px) 100vw, 799px" /><figcaption>1.- Cat command help</figcaption></figure>



<p>But, let&#8217;s see the usefulness of the cat command using several useful examples.</p>



<h2>Using the cat command</h2>



<p>I will create a sample text file called file.txt and add content.</p>



<p>To display the contents of the file, simply use the following command:</p>



<pre class="wp-block-preformatted">:~$ cat file.txt</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="583" height="215" src="https://www.osradar.com/wp-content/uploads/2020/02/2-20.png" alt="2.- Using the cat command" class="wp-image-18654" srcset="https://www.osradar.com/wp-content/uploads/2020/02/2-20.png 583w, https://www.osradar.com/wp-content/uploads/2020/02/2-20-300x111.png 300w" sizes="(max-width: 583px) 100vw, 583px" /><figcaption>2.- Using the cat command</figcaption></figure>



<p>It is also possible to use an absolute route, for example:</p>



<pre class="wp-block-preformatted">:~$ cat /home/angelo/file.txt</pre>



<p>So you can see the contents of a file from another directory.</p>



<p>It is also possible to view the contents of several files, just separate them by a blank space:</p>



<pre class="wp-block-preformatted">:~$ cat file.txt file2.txt</pre>



<p>And so on.</p>



<p>It is also possible, to show the content of the file and display the lines it has. To do this, add the -n option.</p>



<pre class="wp-block-preformatted">:~$ cat -n file.txt</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="551" height="273" src="https://www.osradar.com/wp-content/uploads/2020/02/3-17.png" alt="3.- Using the -n option" class="wp-image-18655" srcset="https://www.osradar.com/wp-content/uploads/2020/02/3-17.png 551w, https://www.osradar.com/wp-content/uploads/2020/02/3-17-300x149.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/3-17-324x160.png 324w" sizes="(max-width: 551px) 100vw, 551px" /><figcaption>3.- Using the -n option</figcaption></figure>



<p>So we can quickly identify a particular line. </p>



<p>However, many text files have empty lines. This is common. The cat command also allows us to show only those that have content and are not empty. The -b option is the correct one.</p>



<pre class="wp-block-preformatted">:~$ cat -b file.txt</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="383" height="211" src="https://www.osradar.com/wp-content/uploads/2020/02/4-17.png" alt="4.- Showing only the relevant lines" class="wp-image-18656" srcset="https://www.osradar.com/wp-content/uploads/2020/02/4-17.png 383w, https://www.osradar.com/wp-content/uploads/2020/02/4-17-300x165.png 300w" sizes="(max-width: 383px) 100vw, 383px" /><figcaption>4.- Showing only the relevant lines</figcaption></figure>



<p>If you want to know when a line ends, the cat command can help you with the -E option.</p>



<pre class="wp-block-preformatted">:~$ cat -E file.txt</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="493" height="235" src="https://www.osradar.com/wp-content/uploads/2020/02/5-15.png" alt="5.- Cat can show the end of the lines" class="wp-image-18657" srcset="https://www.osradar.com/wp-content/uploads/2020/02/5-15.png 493w, https://www.osradar.com/wp-content/uploads/2020/02/5-15-300x143.png 300w" sizes="(max-width: 493px) 100vw, 493px" /><figcaption>5.- Cat can show the end of the lines</figcaption></figure>



<p>Also, cat can display the non-printable characters with the -v option.</p>



<pre class="wp-block-preformatted">:~$ cat -v file.txt</pre>



<p>Or the tabs with the -T option</p>



<pre class="wp-block-preformatted">:~$ cat -T file.txt</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="521" height="258" src="https://www.osradar.com/wp-content/uploads/2020/02/6-12.png" alt="6.- Showing the TAB with the cat command" class="wp-image-18659" srcset="https://www.osradar.com/wp-content/uploads/2020/02/6-12.png 521w, https://www.osradar.com/wp-content/uploads/2020/02/6-12-300x149.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/6-12-324x160.png 324w" sizes="(max-width: 521px) 100vw, 521px" /><figcaption>6.- Showing the TAB with the cat command</figcaption></figure>



<p>Note: I have modified the file to include a tab and show you how it looks.</p>



<p>So, that is it. You already know how to use the cat command.</p>



<h2>Conclusion</h2>



<p>The cat command is quite simple to use but it can get us out of trouble in many cases. Especially useful if you are sysadmin or a student of some computer-related engineering, the post will help you get familiar with the terminal.</p>



<p>Please share this post and join our Telegram channel.</p>



<p>I invite you to read other posts about Linux commands:</p>



<p><a href="https://www.osradar.com/copy-file-folder-using-cp-command-in-linux/" target="_blank" rel="noreferrer noopener" aria-label="cp command (opens in a new tab)">cp command</a><br><a href="https://www.osradar.com/the-linux-tail-command/" target="_blank" rel="noreferrer noopener" aria-label="The Tail command  (opens in a new tab)">The Tail command </a><br><a href="https://www.osradar.com/the-linux-head-command/" target="_blank" rel="noreferrer noopener" aria-label="head command  (opens in a new tab)">head command </a><br><a href="https://www.osradar.com/the-wget-command/" target="_blank" rel="noreferrer noopener" aria-label="The wget command  (opens in a new tab)">The wget command </a></p>



<p></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/the-linux-cat-command/">The Linux cat command</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/the-linux-cat-command/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Bat – Advanced Cat for Linux</title>
		<link>https://www.osradar.com/bat-advanced-cat-for-linux/</link>
					<comments>https://www.osradar.com/bat-advanced-cat-for-linux/#comments</comments>
		
		<dc:creator><![CDATA[osradar_editor]]></dc:creator>
		<pubDate>Fri, 16 Nov 2018 17:28:05 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[bat]]></category>
		<category><![CDATA[bat tutorial]]></category>
		<category><![CDATA[cat]]></category>
		<category><![CDATA[cat alternative]]></category>
		<category><![CDATA[cat tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=7372</guid>

					<description><![CDATA[<p>If you’re using Linux, you already used the “cat” command, right? It’s a command that opens a file in the terminal window. Bat is a cat command clone. It offers all the same features as the cat. However, it comes up with a number of additional features like syntax highlighting, Git integration, automatic paging, file [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/bat-advanced-cat-for-linux/">Bat – Advanced Cat for Linux</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>If you’re using Linux, you already used the “cat” command, right? It’s a command that opens a file in the terminal window. Bat is a cat command clone. It offers all the same features as the cat. However, it comes up with a number of additional features like syntax highlighting, Git integration, automatic paging, file concatenation etc.</p>
<p>If you need, you can also add other language definitions and new syntaxes, themes and custom pager etc.</p>
<p>Let’s enjoy Bat!</p>
<h1>Installing Bat</h1>
<p>Bat is available on all the major Linux platforms. Run the following command(s) according to your own Linux distro.</p>
<ul>
<li>Ubuntu/Debian</li>
</ul>
<p><a href="https://github.com/sharkdp/bat/releases">Download the latest DEB package of Bat</a>.</p>
<p><img loading="lazy" class="size-full wp-image-7375 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/bat-2.png" alt="" width="965" height="563" srcset="https://www.osradar.com/wp-content/uploads/2018/11/bat-2.png 965w, https://www.osradar.com/wp-content/uploads/2018/11/bat-2-300x175.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/bat-2-768x448.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/bat-2-696x406.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/bat-2-720x420.png 720w" sizes="(max-width: 965px) 100vw, 965px" /></p>
<p>Now, run the following command(s) –</p>
<pre class="">sudo dpkg -i bat_0.9.0_amd64.deb</pre>
<p><img loading="lazy" class="size-full wp-image-7376 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/bat-3.png" alt="" width="1079" height="267" srcset="https://www.osradar.com/wp-content/uploads/2018/11/bat-3.png 1079w, https://www.osradar.com/wp-content/uploads/2018/11/bat-3-300x74.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/bat-3-768x190.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/bat-3-1024x253.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/bat-3-696x172.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/bat-3-1068x264.png 1068w" sizes="(max-width: 1079px) 100vw, 1079px" /></p>
<ul>
<li>OpenSUSE</li>
</ul>
<pre class="">sudo zypper install bat</pre>
<ul>
<li>Arch Linux</li>
</ul>
<pre class="">sudo pacman -S bat</pre>
<ul>
<li>Generic Linux instruction</li>
</ul>
<p>You have to build Bat from source. Follow the instructions on <a href="https://github.com/sharkdp/bat">Bat official page on GitHub</a>.</p>
<p><img loading="lazy" class="size-full wp-image-7374 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/bat-1.png" alt="" width="905" height="627" srcset="https://www.osradar.com/wp-content/uploads/2018/11/bat-1.png 905w, https://www.osradar.com/wp-content/uploads/2018/11/bat-1-300x208.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/bat-1-768x532.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/bat-1-100x70.png 100w, https://www.osradar.com/wp-content/uploads/2018/11/bat-1-218x150.png 218w, https://www.osradar.com/wp-content/uploads/2018/11/bat-1-696x482.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/bat-1-606x420.png 606w" sizes="(max-width: 905px) 100vw, 905px" /></p>
<h1>Using Bat</h1>
<p>Check out all the file extensions and languages Bat support –</p>
<pre class="">bat --list-languages</pre>
<p><img loading="lazy" class="size-full wp-image-7377 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/bat-4.png" alt="" width="1060" height="734" srcset="https://www.osradar.com/wp-content/uploads/2018/11/bat-4.png 1060w, https://www.osradar.com/wp-content/uploads/2018/11/bat-4-300x208.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/bat-4-768x532.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/bat-4-1024x709.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/bat-4-100x70.png 100w, https://www.osradar.com/wp-content/uploads/2018/11/bat-4-218x150.png 218w, https://www.osradar.com/wp-content/uploads/2018/11/bat-4-696x482.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/bat-4-607x420.png 607w" sizes="(max-width: 1060px) 100vw, 1060px" /></p>
<p>Let’s check out an HTML file.</p>
<pre class="">bat ~/Desktop/demo.html</pre>
<p><img loading="lazy" class="size-full wp-image-7378 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/bat-5.png" alt="" width="1060" height="734" srcset="https://www.osradar.com/wp-content/uploads/2018/11/bat-5.png 1060w, https://www.osradar.com/wp-content/uploads/2018/11/bat-5-300x208.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/bat-5-768x532.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/bat-5-1024x709.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/bat-5-100x70.png 100w, https://www.osradar.com/wp-content/uploads/2018/11/bat-5-218x150.png 218w, https://www.osradar.com/wp-content/uploads/2018/11/bat-5-696x482.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/bat-5-607x420.png 607w" sizes="(max-width: 1060px) 100vw, 1060px" /></p>
<p><img loading="lazy" class="size-full wp-image-7379 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/bat-6.png" alt="" width="1060" height="734" srcset="https://www.osradar.com/wp-content/uploads/2018/11/bat-6.png 1060w, https://www.osradar.com/wp-content/uploads/2018/11/bat-6-300x208.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/bat-6-768x532.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/bat-6-1024x709.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/bat-6-100x70.png 100w, https://www.osradar.com/wp-content/uploads/2018/11/bat-6-218x150.png 218w, https://www.osradar.com/wp-content/uploads/2018/11/bat-6-696x482.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/bat-6-607x420.png 607w" sizes="(max-width: 1060px) 100vw, 1060px" /></p>
<p>Why not check out a bash file?</p>
<pre class="">bat demo-magic.sh</pre>
<p><img loading="lazy" class="wp-image-7380 size-full" style="text-align: center;" src="https://www.osradar.com/wp-content/uploads/2018/11/bat-7.png" alt="" width="1366" height="735" srcset="https://www.osradar.com/wp-content/uploads/2018/11/bat-7.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/bat-7-300x161.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/bat-7-768x413.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/bat-7-1024x551.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/bat-7-696x374.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/bat-7-1068x575.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/bat-7-781x420.png 781w" sizes="(max-width: 1366px) 100vw, 1366px" /></p>
<p>Script &#8211; https://github.com/paxtonhare/demo-magic&nbsp;</p>
<p><figure id="attachment_7381" aria-describedby="caption-attachment-7381" style="width: 1366px" class="wp-caption aligncenter"><img loading="lazy" class="wp-image-7381 size-full" src="https://www.osradar.com/wp-content/uploads/2018/11/bat-8.png" alt="" width="1366" height="735" srcset="https://www.osradar.com/wp-content/uploads/2018/11/bat-8.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/bat-8-300x161.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/bat-8-768x413.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/bat-8-1024x551.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/bat-8-696x374.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/bat-8-1068x575.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/bat-8-781x420.png 781w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7381" class="wp-caption-text">Script &#8211; https://github.com/paxtonhare/demo-magic</figcaption></figure></p>
<p>Need to check out multiple files? Use the following command –</p>
<pre class="">bat demo-magic.sh README.md</pre>
<p>&nbsp;</p>
<p><figure id="attachment_7382" aria-describedby="caption-attachment-7382" style="width: 1366px" class="wp-caption aligncenter"><img loading="lazy" class="wp-image-7382 size-full" src="https://www.osradar.com/wp-content/uploads/2018/11/bat-9.png" alt="" width="1366" height="735" srcset="https://www.osradar.com/wp-content/uploads/2018/11/bat-9.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/bat-9-300x161.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/bat-9-768x413.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/bat-9-1024x551.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/bat-9-696x374.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/bat-9-1068x575.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/bat-9-781x420.png 781w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7382" class="wp-caption-text">Script &#8211; https://github.com/paxtonhare/demo-magic</figcaption></figure></p>
<p><figure id="attachment_7383" aria-describedby="caption-attachment-7383" style="width: 1366px" class="wp-caption aligncenter"><img loading="lazy" class="wp-image-7383 size-full" src="https://www.osradar.com/wp-content/uploads/2018/11/bat-10.png" alt="" width="1366" height="735" srcset="https://www.osradar.com/wp-content/uploads/2018/11/bat-10.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/bat-10-300x161.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/bat-10-768x413.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/bat-10-1024x551.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/bat-10-696x374.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/bat-10-1068x575.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/bat-10-781x420.png 781w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7383" class="wp-caption-text">Script &#8211; https://github.com/paxtonhare/demo-magic</figcaption></figure></p>
<p>You can also tell Bat to show a range of line from a certain file –</p>
<pre class="">bat --line-range 10:20 license.txt</pre>
<p><img loading="lazy" class="size-full wp-image-7384 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/bat-11.png" alt="" width="1075" height="366" srcset="https://www.osradar.com/wp-content/uploads/2018/11/bat-11.png 1075w, https://www.osradar.com/wp-content/uploads/2018/11/bat-11-300x102.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/bat-11-768x261.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/bat-11-1024x349.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/bat-11-696x237.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/bat-11-1068x364.png 1068w" sizes="(max-width: 1075px) 100vw, 1075px" /></p>
<p>List all the available themes for Bat –</p>
<pre class="">bat --list-themes</pre>
<p><img loading="lazy" class="size-full wp-image-7385 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/bat-12.png" alt="" width="1366" height="735" srcset="https://www.osradar.com/wp-content/uploads/2018/11/bat-12.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/bat-12-300x161.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/bat-12-768x413.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/bat-12-1024x551.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/bat-12-696x374.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/bat-12-1068x575.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/bat-12-781x420.png 781w" sizes="(max-width: 1366px) 100vw, 1366px" /></p>
<p>Enable a specific theme right away!</p>
<pre class="">bat --theme=Github</pre>
<p><a href="https://github.com/sharkdp/bat">You can find out more about Bat on GitHub</a>.</p>
<p>Enjoy!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/bat-advanced-cat-for-linux/">Bat – Advanced Cat for Linux</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/bat-advanced-cat-for-linux/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
