{"id":894,"date":"2022-12-06T14:26:48","date_gmt":"2022-12-06T14:26:48","guid":{"rendered":"https:\/\/linuxsimply.com\/?p=894"},"modified":"2024-03-31T10:32:04","modified_gmt":"2024-03-31T10:32:04","slug":"cat-command-in-linux","status":"publish","type":"post","link":"https:\/\/linuxsimply.com\/cat-command-in-linux\/","title":{"rendered":"The \u201ccat\u201d Command in Linux [10 Practical Examples]"},"content":{"rendered":"<p style=\"text-align: justify;\">The <strong>cat <\/strong>command is very useful for viewing the contents of single and multiple files on the <strong>Ubuntu terminal<\/strong>. In this article, I will describe all the features and uses of the<strong> cat<\/strong> command in <strong>Linux<\/strong> with multiple examples.<\/p>\n<div class=\"su-youtube su-u-responsive-media-yes\"><iframe width=\"600\" height=\"400\" src=\"https:\/\/www.youtube.com\/embed\/-vMNHxgbHUU?\" frameborder=\"0\" allowfullscreen allow=\"autoplay; encrypted-media; picture-in-picture\" title=\"\"><\/iframe><\/div>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 eztoc-toggle-hide-by-default' ><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/linuxsimply.com\/cat-command-in-linux\/#A_Description\" >A. Description<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/linuxsimply.com\/cat-command-in-linux\/#B_Syntax\" >B. Syntax<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/linuxsimply.com\/cat-command-in-linux\/#C_Options\" >C. Options<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/linuxsimply.com\/cat-command-in-linux\/#Practical_Examples_of_the_%E2%80%9Ccat%E2%80%9D_Command_in_Linux\" >Practical Examples of the \u201ccat\u201d Command in Linux<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/linuxsimply.com\/cat-command-in-linux\/#Example_1_Display_the_Contents_of_a_Single_File\" >Example 1: Display the Contents of a Single File<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/linuxsimply.com\/cat-command-in-linux\/#Example_2_Display_the_Contents_of_Multiple_Files\" >Example 2: Display the Contents of Multiple Files<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/linuxsimply.com\/cat-command-in-linux\/#Example_3_Create_a_New_File_Using_the_%E2%80%9Ccat%E2%80%9D_Command_in_Linux\" >Example 3: Create a New File Using the \u201ccat\u201d Command in Linux<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/linuxsimply.com\/cat-command-in-linux\/#Example_4_Using_the_%E2%80%9Ccat%E2%80%9D_Command_to_Redirect_the_Contents_of_a_Single_File\" >Example 4: Using the \u201ccat\u201d Command to Redirect the Contents of a Single File<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/linuxsimply.com\/cat-command-in-linux\/#Example_5_Redirect_the_Contents_of_Multiple_Files\" >Example 5: Redirect the Contents of Multiple Files<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/linuxsimply.com\/cat-command-in-linux\/#Example_6_Display_the_Contents_of_a_File_in_Reverse_Order\" >Example 6: Display the Contents of a File in Reverse Order<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/linuxsimply.com\/cat-command-in-linux\/#Example_7_Append_Text_to_Existing_File\" >Example 7: Append Text to Existing File<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/linuxsimply.com\/cat-command-in-linux\/#Example_8_Append_Multiple_Files_Contents_to_Another_File_Using_the_%E2%80%9Ccat%E2%80%9D_Command\" >Example 8: Append Multiple Files\u2019 Contents to Another File Using the \u201ccat\u201d Command<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/linuxsimply.com\/cat-command-in-linux\/#Example_9_Using_the_%E2%80%9Ccat%E2%80%9D_to_Combine_Multiple_Files_into_Another_File\" >Example 9: Using the \u201ccat\u201d to Combine Multiple Files into Another File<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/linuxsimply.com\/cat-command-in-linux\/#Example_10_Manage_Large_Files_Using_the_%E2%80%9Ccat%E2%80%9D_Command\" >Example 10: Manage Large Files Using the \u201ccat\u201d Command<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/linuxsimply.com\/cat-command-in-linux\/#Conclusion\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h3><span class=\"ez-toc-section\" id=\"A_Description\"><\/span>A. Description<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p style=\"text-align: justify;\">The <strong>cat<\/strong> command prints the contents of the file specified. Generally, <strong>cat<\/strong> (con<strong>cat<\/strong>enates) reads the contents of the files fed to its arguments and prints them serially on the <strong>terminal<\/strong>.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"B_Syntax\"><\/span>B. Syntax<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The syntax for the <strong>cat<\/strong> command is pretty simple which is the command itself followed by some specific options.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">cat [OPTION]... [FILE]...<\/code><\/pre>\n<div class=\"su-note\"  style=\"border-color:#cedfe2;\"><div class=\"su-note-inner su-u-clearfix su-u-trim\" style=\"background-color:#E8F9FC;border-color:#ffffff;color:#333333;\">\n<p><strong>Note: <\/strong>In the above syntax <strong>OPTION<\/strong> enclosed by a square bracket and followed by 3 dots represents that multiple options can be utilized at the same time.<\/p>\n<\/div><\/div>\n<h3><span class=\"ez-toc-section\" id=\"C_Options\"><\/span>C. Options<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p style=\"text-align: justify;\">Many useful <strong>options<\/strong> are available for the <strong>cat<\/strong> command. I have listed some of the most used ones here. However, if you want to know more about options for the <strong>cat<\/strong> command you can always check the <strong>man<\/strong> page for the <strong>cat<\/strong> command.<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">man cat<\/code><\/pre>\n<p><span style=\"color: #800080;\"><strong>Useful Options<\/strong><\/span><\/p>\n<div class=\"su-list\" style=\"margin-left:20px\">\n<ul>\n<li><i class=\"sui sui-arrow-right\" style=\"color:#000000\"><\/i> <strong>-E, &#8211;show-ends<\/strong> \u2014 Display $ at end of each line.<\/li>\n<li><i class=\"sui sui-arrow-right\" style=\"color:#000000\"><\/i> <strong>-n, &#8211;number<\/strong> \u2014 Displays line numbers when utilized.<\/li>\n<li><i class=\"sui sui-arrow-right\" style=\"color:#000000\"><\/i> <strong>-s, &#8211;squeeze-blank<\/strong> \u2014 suppress repeated empty output lines.<\/li>\n<li><i class=\"sui sui-arrow-right\" style=\"color:#000000\"><\/i> <strong>-T, &#8211;show-tabs<\/strong>\u2014 display TAB characters as ^I.<\/li>\n<\/ul>\n<\/div>\n<div class=\"su-note\"  style=\"border-color:#cedfe2;\"><div class=\"su-note-inner su-u-clearfix su-u-trim\" style=\"background-color:#E8F9FC;border-color:#ffffff;color:#333333;\">\n<p><strong>NB:<\/strong> The options in Linux <strong>CLI (Command Line Interface)<\/strong> are all case-sensitive, So be cautious while using them.<\/p>\n<\/div><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Practical_Examples_of_the_%E2%80%9Ccat%E2%80%9D_Command_in_Linux\"><\/span>Practical Examples of the \u201ccat\u201d Command in Linux<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p style=\"text-align: justify;\">The <strong>cat <\/strong>command in<strong> Linux<\/strong> is an easy-to-use command which is used to con<strong>cat<\/strong>enate(print) the contents of a text file. Some of the most useful applications of the <strong>cat<\/strong> command have been illustrated below. In this article, I have worked with the following files, you can also download<span style=\"color: #000000;\"><strong>\u00a0<\/strong><\/span>those files if you want to work with the same files.<\/p>\n<div class=\"su-button-center\"><a href=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/cat-20221206T053150Z-001-1.zip\" class=\"su-button su-button-style-default\" style=\"color:#000000;background-color:#E8F9FF;border-color:#bac8cc;border-radius:56px\" target=\"_blank\" rel=\"noopener noreferrer\"><span style=\"color:#000000;padding:8px 26px;font-size:20px;line-height:30px;border-color:#effbff;border-radius:56px;text-shadow:0px 0px 0px #000000\"><i class=\"sui sui-download\" style=\"font-size:20px;color:#1AA1D6\"><\/i> Download the Files to Work with &#8220;Cat&#8221; Command in Linux<\/span><\/a><\/div>\n<h3><span class=\"ez-toc-section\" id=\"Example_1_Display_the_Contents_of_a_Single_File\"><\/span>Example 1: Display the Contents of a Single File<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p style=\"text-align: justify;\">To display any file on your <strong>Ubuntu Terminal<\/strong> you have to follow the below procedure. Here, I have chosen my <strong>file1.txt<\/strong> file to show on the terminal.<\/p>\n<p><span style=\"color: #800080;\"><strong>Steps to Follow &gt;<\/strong><\/span><\/p>\n<p>\u278a\u00a0 At first open the <strong>Ubuntu Terminal<\/strong>.<\/p>\n<p>\u278b<strong>\u00a0 <\/strong>Type the following command in the command prompt:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">cat file1.txt<\/code><\/pre>\n<p>\u278c Now, press the <strong>ENTER<\/strong> button.<\/p>\n<p><span style=\"color: #800080;\"><strong>Output &gt;<\/strong><\/span><\/p>\n<p>You can see in the picture that the contents of my file are displayed on the terminal.<img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter size-full wp-image-897\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-5.png\" alt=\"Display the contents of a single file \" width=\"657\" height=\"180\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-5.png 657w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-5-300x82.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-5-1024x281.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-5-767x210.png 767w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-5-1536x421.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-5-2048x561.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-5-548x150.png 548w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-5-100x27.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-5-1278x350.png 1278w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-5-788x215.png 788w\" sizes=\"(max-width: 657px) 100vw, 657px\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Example_2_Display_the_Contents_of_Multiple_Files\"><\/span>Example 2: Display the Contents of Multiple Files<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p style=\"text-align: justify;\">To display the contents of multiple files serially on your <strong>Ubuntu Terminal<\/strong> you have to follow the below procedure. Here, I have chosen my <strong>file1.txt,\u00a0 file2.txt, <\/strong>and <strong>file3.txt<\/strong> files to show on the terminal.<\/p>\n<p><span style=\"color: #800080;\"><strong>Steps to Follow &gt;<\/strong><\/span><\/p>\n<p>\u278a\u00a0 At first open the <strong>Ubuntu Terminal<\/strong>.<\/p>\n<p>\u278b<strong>\u00a0 <\/strong>Type the following command in the command prompt:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">cat file1.txt\u00a0 file2.txt\u00a0 file3.txt<\/code><\/pre>\n<p>\u278c Now, press the <strong>ENTER<\/strong> button.<\/p>\n<p><span style=\"color: #800080;\"><strong>Output &gt;<\/strong><\/span><\/p>\n<p>You can see in the picture that the contents of all 3 files are displayed one by one on the terminal.<img decoding=\"async\" class=\"aligncenter size-full wp-image-899\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-4.png\" alt=\"Display the contents of multiple files using cat command\" width=\"700\" height=\"352\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-4.png 700w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-4-300x151.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-4-1024x515.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-4-768x386.png 768w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-4-1536x772.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-4-2048x1030.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-4-298x150.png 298w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-4-100x50.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-4-696x350.png 696w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-4-788x396.png 788w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Example_3_Create_a_New_File_Using_the_%E2%80%9Ccat%E2%80%9D_Command_in_Linux\"><\/span>Example 3: Create a New File Using the \u201ccat\u201d Command in Linux<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p style=\"text-align: justify;\">You can create a new file on your desktop using <strong>cat<\/strong>. To create a new file you should follow the below procedure. Here, I have created a <strong>new file4.txt<\/strong> file.<\/p>\n<p><span style=\"color: #800080;\"><strong>Steps to Follow &gt;<\/strong><\/span><\/p>\n<p>\u278a\u00a0 At first open the <strong>Ubuntu Terminal<\/strong>.<\/p>\n<p>\u278b<strong>\u00a0 <\/strong>Type the following command in the command prompt:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">cat &gt;file4.txt<\/code><\/pre>\n<p>\u278c Now, press the <strong>ENTER<\/strong> button.<\/p>\n<p>Your command prompt will be waiting for you to put some lines or values there.<\/p>\n<p>\u278d Type the following lines in the command prompt:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">This is my first file\n\nIt was the first line of the file<\/code><\/pre>\n<p>\u278e Press <strong>CTRL+D<\/strong> and then press the <strong>ENTER<\/strong> button.<img decoding=\"async\" class=\"aligncenter size-full wp-image-901\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-1.png\" alt=\"Create a new file using &quot;cat&quot; command in Linux\" width=\"661\" height=\"126\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-1.png 661w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-1-300x57.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-1-1024x195.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-1-766x146.png 766w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-1-1536x293.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-1-2048x390.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-1-787x150.png 787w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-1-100x19.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-1-1836x350.png 1836w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-1-788x150.png 788w\" sizes=\"(max-width: 661px) 100vw, 661px\" \/>\u278f <strong>\u00a0<\/strong>Type the following command in the command prompt to see the contents of the newly created file:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">cat file4.txt<\/code><\/pre>\n<p>\u2790 Finally, press the <strong>ENTER<\/strong> button again.<\/p>\n<p><span style=\"color: #800080;\"><strong>Output &gt;<\/strong><\/span><\/p>\n<p>You can see in the picture that the lines are added to the <strong>file4.txt<\/strong> file on my desktop.<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-902\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-2.png\" alt=\"printing the newly created file\" width=\"663\" height=\"125\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-2.png 663w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-2-300x57.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-2-1024x193.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-2-764x144.png 764w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-2-1536x290.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-2-2048x386.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-2-796x150.png 796w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-2-100x19.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-2-1856x350.png 1856w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-2-788x148.png 788w\" sizes=\"(max-width: 663px) 100vw, 663px\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Example_4_Using_the_%E2%80%9Ccat%E2%80%9D_Command_to_Redirect_the_Contents_of_a_Single_File\"><\/span>Example 4: Using the \u201ccat\u201d Command to Redirect the Contents of a Single File<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p style=\"text-align: justify;\">You can redirect the contents of a file to another by using the <strong>cat<\/strong> command. Here, I have redirected the content of my <strong>file1.txt<\/strong> file to the <strong>file2.txt<\/strong> file. To do this you need to follow the below procedure:<\/p>\n<p><span style=\"color: #800080;\"><strong>Steps to Follow &gt;<\/strong><\/span><\/p>\n<p>\u278a\u00a0 At first open the <strong>Ubuntu Terminal<\/strong>.<\/p>\n<p>\u278b<strong>\u00a0 <\/strong>Type the following command in the command prompt:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">cat file1.txt &gt; file2.txt<\/code><\/pre>\n<p>\u278c Now, press the <strong>ENTER<\/strong> button.<\/p>\n<p>\u278d\u00a0 Type the following command in the command prompt to see the contents of the file:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">cat file2.txt<\/code><\/pre>\n<p>\u278e Finally, press the <strong>ENTER<\/strong> button again.<\/p>\n<p><span style=\"color: #800080;\"><strong>Output &gt;<\/strong><\/span><\/p>\n<p style=\"text-align: justify;\">You can see in the picture that the contents of the <strong>file1.txt <\/strong>file have overwritten the contents of the <strong>file4.txt<\/strong> file on my desktop.<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-904\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-6.png\" alt=\"Redirecting the contents of a single file\" width=\"662\" height=\"210\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-6.png 662w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-6-300x95.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-6-1024x325.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-6-766x243.png 766w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-6-1536x487.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-6-2048x650.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-6-473x150.png 473w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-6-100x32.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-6-1103x350.png 1103w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-6-788x249.png 788w\" sizes=\"(max-width: 662px) 100vw, 662px\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Example_5_Redirect_the_Contents_of_Multiple_Files\"><\/span>Example 5: Redirect the Contents of Multiple Files<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p style=\"text-align: justify;\">You can redirect the contents of multiple files to another file by using the <strong>cat<\/strong> command. Here, I have redirected the contents of my <strong>file1.txt<\/strong> and <strong>file2.txt<\/strong> files to the <strong>file3.txt <\/strong>file. To do this you need to follow the below procedure:<\/p>\n<p><span style=\"color: #800080;\"><strong>Steps to Follow &gt;<\/strong><\/span><\/p>\n<p>\u278a\u00a0 At first open the <strong>Ubuntu Terminal<\/strong>.<\/p>\n<p>\u278b<strong>\u00a0 <\/strong>Type the following command in the command prompt:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">cat file1.txt file2.txt &gt; file3.txt<\/code><\/pre>\n<p>\u278c Now, press the <strong>ENTER<\/strong> button.<\/p>\n<p>\u278d\u00a0 Type the following command in the command prompt to see the contents of the file:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">cat file3.txt<\/code><\/pre>\n<p>\u278e Finally, press the <strong>ENTER<\/strong> button again.<\/p>\n<p><span style=\"color: #800080;\"><strong>Output &gt;<\/strong><\/span><\/p>\n<p style=\"text-align: justify;\">You can see in the picture that the contents of the <strong>file1.txt <\/strong>and <strong>file2.txt<\/strong> files have overwritten the contents of the <strong>file3.txt<\/strong> file on my desktop.<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-905\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-7.png\" alt=\"Redirecting the contents of multiple files\" width=\"700\" height=\"260\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-7.png 700w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-7-300x111.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-7-1024x380.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-7-767x285.png 767w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-7-1536x571.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-7-2048x761.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-7-404x150.png 404w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-7-100x37.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-7-942x350.png 942w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-7-788x292.png 788w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Example_6_Display_the_Contents_of_a_File_in_Reverse_Order\"><\/span>Example 6: Display the Contents of a File in Reverse Order<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p style=\"text-align: justify;\">To display any file in vertical reverse order on your <strong>Ubuntu Terminal <\/strong>by using <strong>tac.<\/strong> You have to follow the below procedure to execute it. Here, I have chosen my <strong>file1.txt<\/strong> file to show on the terminal.<\/p>\n<p><span style=\"color: #800080;\"><strong>Steps to Follow &gt;<\/strong><\/span><\/p>\n<p>\u278a\u00a0 At first open the <strong>Ubuntu Terminal<\/strong>.<\/p>\n<p>\u278b<strong>\u00a0 <\/strong>Type the following command in the command prompt:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">cat file1.txt<\/code><\/pre>\n<p>\u278c Now, press the <strong>ENTER<\/strong> button.<\/p>\n<p>It will show you the contents of the file.<\/p>\n<p>\u278d Type the following command in the command prompt:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">tac file1.txt<\/code><\/pre>\n<p>\u278e Finally, press the <strong>ENTER<\/strong> button again.<\/p>\n<p><span style=\"color: #800080;\"><strong>Output &gt;<\/strong><\/span><\/p>\n<p>You can see in the picture that the contents of my file are displayed on the terminal in vertical reverse order.<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-906\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-3.png\" alt=\"Display contents of a file in reverse order\" width=\"660\" height=\"319\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-3.png 660w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-3-300x145.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-3-1024x495.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-3-768x371.png 768w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-3-1536x742.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-3-2048x990.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-3-310x150.png 310w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-3-100x48.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-3-724x350.png 724w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-3-788x380.png 788w\" sizes=\"(max-width: 660px) 100vw, 660px\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Example_7_Append_Text_to_Existing_File\"><\/span>Example 7: Append Text to Existing File<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p style=\"text-align: justify;\">You can add some texts to any file by using the <strong>cat<\/strong> command. Here, I have added a line to my <strong>file1.txt<\/strong> file. To do this you need to follow the below procedure:<\/p>\n<p><span style=\"color: #800080;\"><strong>Steps to Follow &gt;<\/strong><\/span><\/p>\n<p>\u278a\u00a0 At first open the <strong>Ubuntu Terminal<\/strong>.<\/p>\n<p>\u278b<strong>\u00a0 <\/strong>Type the following command in the command prompt:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">cat &gt;&gt; file1.txt<\/code><\/pre>\n<p>\u278c Now, press the <strong>ENTER<\/strong> button.<\/p>\n<p>\u278d\u00a0 Type the following line in the command prompt to add the line with the contents of the file:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">This is the actual first file<\/code><\/pre>\n<p>\u278e Press <strong>CTRL+D<\/strong> and then press the <strong>ENTER<\/strong> button.<\/p>\n<p>\u278f Type the following command in the command prompt:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">cat file1.txt<\/code><\/pre>\n<p>\u2790 Finally, press the <strong>ENTER<\/strong> button again.<\/p>\n<p><span style=\"color: #800080;\"><strong>Output &gt;<\/strong><\/span><\/p>\n<p>You can see in the picture that the line is added at the end of the contents of the <strong>file1.txt <\/strong>file on my desktop.<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-907\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-8.png\" alt=\"Append text to existing file using cat command in Linux\" width=\"661\" height=\"261\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-8.png 661w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-8-300x118.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-8-1024x404.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-8-767x303.png 767w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-8-1536x606.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-8-2048x809.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-8-380x150.png 380w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-8-100x39.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-8-886x350.png 886w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-8-788x311.png 788w\" sizes=\"(max-width: 661px) 100vw, 661px\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Example_8_Append_Multiple_Files_Contents_to_Another_File_Using_the_%E2%80%9Ccat%E2%80%9D_Command\"><\/span>Example 8: Append Multiple Files\u2019 Contents to Another File Using the \u201ccat\u201d Command<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p style=\"text-align: justify;\">You can append the contents of multiple files to another file by using the <strong>cat<\/strong> command. Here, I have appended the contents of my <strong>file1.txt<\/strong> and <strong>file2.txt<\/strong> files to the <strong>file3.txt<\/strong> file. To do this you need to follow the below procedure:<\/p>\n<p><span style=\"color: #800080;\"><strong>Steps to Follow &gt;<\/strong><\/span><\/p>\n<p>\u278a\u00a0 At first open the <strong>Ubuntu Terminal<\/strong>.<\/p>\n<p>\u278b<strong>\u00a0 <\/strong>Type the following command in the command prompt:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">cat file1.txt file2.txt\u00a0 &gt;&gt;\u00a0 file3.txt<\/code><\/pre>\n<p>\u278c Now, press the <strong>ENTER<\/strong> button.<\/p>\n<p>\u278d\u00a0 Type the following command in the command prompt to see the contents of the file:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">cat file3.txt<\/code><\/pre>\n<p>\u278e Finally, press the <strong>ENTER<\/strong> button again.<\/p>\n<p><span style=\"color: #800080;\"><strong>Output &gt;<\/strong><\/span><\/p>\n<p style=\"text-align: justify;\">You can see in the picture that the lines of the <strong>file1.txt <\/strong>and <strong>file2.txt<\/strong> files are added at the end of the lines of the <strong>file3.txt<\/strong> file on my desktop.<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-908\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-9.png\" alt=\"Append the contents of multiple files into one file\" width=\"700\" height=\"403\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-9.png 700w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-9-300x173.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-9-1024x590.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-9-768x442.png 768w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-9-1536x884.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-9-2048x1179.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-9-261x150.png 261w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-9-100x58.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-9-608x350.png 608w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-9-788x453.png 788w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Example_9_Using_the_%E2%80%9Ccat%E2%80%9D_to_Combine_Multiple_Files_into_Another_File\"><\/span>Example 9: Using the \u201ccat\u201d to Combine Multiple Files into Another File<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p style=\"text-align: justify;\">You can combine multiple files\u2019 contents and redirect them to another newly created file. Here, I have combined my <strong>file1.txt, file2.txt, <\/strong>and <strong>file3.txt<\/strong> files and put them in a newly created file named <strong>file4.txt.<\/strong>\u00a0 You have to follow the below procedure to execute it.<\/p>\n<p><span style=\"color: #800080;\"><strong>Steps to Follow &gt;<\/strong><\/span><\/p>\n<p>\u278a\u00a0 At first open the <strong>Ubuntu Terminal<\/strong>.<\/p>\n<p>\u278b<strong>\u00a0 <\/strong>Type the following command in the command prompt:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">cat file1.txt file2.txt file3.txt\u00a0 &gt;\u00a0 file4.txt<\/code><\/pre>\n<p>\u278c Now, press the <strong>ENTER<\/strong> button.<\/p>\n<p>\u278d\u00a0 Type the following command in the command prompt to see the contents of the file:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">cat file4.txt<\/code><\/pre>\n<p>\u278e Finally, press the <strong>ENTER<\/strong> button again.<\/p>\n<p><span style=\"color: #800080;\"><strong>Output &gt;<\/strong><\/span><\/p>\n<p style=\"text-align: justify;\">You can see in the picture that a new file has been created named <strong>file4.txt.<\/strong> The contents of the <strong>file1.txt, file2.txt, <\/strong>and <strong>file2.txt<\/strong> files are added to the <strong>file4.txt<\/strong> file on my desktop.<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-909\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-10.png\" alt=\"Combine the contents of multiple files into a new file\" width=\"825\" height=\"385\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-10.png 825w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-10-300x140.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-10-1024x478.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-10-767x358.png 767w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-10-1536x717.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-10-2048x956.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-10-321x150.png 321w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-10-100x47.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-10-750x350.png 750w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-10-788x367.png 788w\" sizes=\"(max-width: 825px) 100vw, 825px\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Example_10_Manage_Large_Files_Using_the_%E2%80%9Ccat%E2%80%9D_Command\"><\/span>Example 10: Manage Large Files Using the \u201ccat\u201d Command<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p style=\"text-align: justify;\">Sometimes con<strong>cat<\/strong>enating large files can be very hard to see through the terminal. I have managed a large text file named paragraph. If you want to manage the exact same file you can download it from here. To manage large files using the <strong>cat<\/strong> command you should follow the below procedure.<\/p>\n<div class=\"su-button-center\"><a href=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/paragraph.zip\" class=\"su-button su-button-style-default\" style=\"color:#000000;background-color:#E8F9FF;border-color:#bac8cc;border-radius:56px\" target=\"_blank\" rel=\"noopener noreferrer\"><span style=\"color:#000000;padding:8px 26px;font-size:20px;line-height:30px;border-color:#effbff;border-radius:56px;text-shadow:0px 0px 0px #000000\"><i class=\"sui sui-download\" style=\"font-size:20px;color:#1AA1D6\"><\/i> Download the Files to Work with the &#8220;Cat&#8221; Command in Linux<\/span><\/a><\/div>\n<p><span style=\"color: #800080;\"><strong>Steps to Follow &gt;<\/strong><\/span><\/p>\n<p>\u278a\u00a0 At first open the <strong>Ubuntu Terminal<\/strong>.<\/p>\n<p>\u278b<strong>\u00a0 <\/strong>Type the following command in the command prompt:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">cat paragraph | less<\/code><\/pre>\n<p>\u278c Now, press the <strong>ENTER<\/strong> button.<\/p>\n<p><span style=\"color: #800080;\"><strong>Output &gt;<\/strong><\/span><\/p>\n<p style=\"text-align: justify;\">You can see in the picture that the contents of my file are displayed on the terminal page by page in a list format which is easier to read. Press the <strong>SPACE<\/strong> button to go to the next page of the file. You can also press the <strong>ENTER<\/strong> button to scroll to the next page line by line.<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-910\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-11.png\" alt=\"Opening the first page of a large file using cat command in Linux\" width=\"825\" height=\"504\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-11.png 825w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-11-300x183.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-11-1024x626.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-11-768x469.png 768w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-11-1536x938.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-11-2048x1251.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-11-246x150.png 246w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-11-100x61.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-11-573x350.png 573w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-11-788x481.png 788w\" sizes=\"(max-width: 825px) 100vw, 825px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-911\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-12.png\" alt=\"Opening one page at a time to manage a large file\" width=\"700\" height=\"628\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-12.png 700w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-12-300x269.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-12-1024x919.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-12-768x689.png 768w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-12-1536x1378.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-12-2048x1837.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-12-167x150.png 167w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-12-100x90.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-12-390x350.png 390w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/Cat-command-in-Linux-12-788x706.png 788w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p style=\"text-align: justify;\">After completing this article, you will acquire all the knowledge about the <strong>cat<\/strong> command in <strong>Linux.<\/strong> With the given practical examples, you will be able to execute a lot of commands to become a power user.<\/p>\n<hr \/>\n<p><span style=\"font-size: 18pt; color: #000080;\"><strong>Similar Readings<\/strong><\/span><\/p>\n<ul>\n<li><strong><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/head-command-in-linux\/\" target=\"_blank\" rel=\"noopener\">The \u201chead\u201d Command in Linux [7 Practical Examples]<\/a><\/strong><\/li>\n<li><strong><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/tail-command-in-linux\/\" target=\"_blank\" rel=\"noopener\">The \u201ctail\u201d Command in Linux [7 Practical Examples]<\/a><\/strong><\/li>\n<li><strong><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/less-command-in-linux\/\" target=\"_blank\" rel=\"noopener\">The \u201cless\u201d Command in Linux [10 Practical Examples]<\/a><\/strong><\/li>\n<li><strong><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/more-command-in-linux\/\" target=\"_blank\" rel=\"noopener\">The \u201cmore\u201d Command in Linux [10 Practical Examples]<\/a><\/strong><\/li>\n<\/ul>\n\n\n<div class=\"kk-star-ratings kksr-auto kksr-align-center kksr-valign-bottom\"\n    data-payload='{&quot;align&quot;:&quot;center&quot;,&quot;id&quot;:&quot;894&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;1&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;5&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;5&quot;,&quot;greet&quot;:&quot;Rate this post&quot;,&quot;legend&quot;:&quot;5\\\/5 - (1 vote)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;title&quot;:&quot;The \u201ccat\u201d Command in Linux [10 Practical Examples]&quot;,&quot;width&quot;:&quot;142.5&quot;,&quot;_legend&quot;:&quot;{score}\\\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}'>\n            \n<div class=\"kksr-stars\">\n    \n<div class=\"kksr-stars-inactive\">\n            <div class=\"kksr-star\" data-star=\"1\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"2\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"3\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"4\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"5\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n    \n<div class=\"kksr-stars-active\" style=\"width: 142.5px;\">\n            <div class=\"kksr-star\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n<\/div>\n                \n\n<div class=\"kksr-legend\" style=\"font-size: 19.2px;\">\n            5\/5 - (1 vote)    <\/div>\n    <\/div>\n","protected":false},"excerpt":{"rendered":"<p>The cat command is very useful for viewing the contents of single and multiple files on the Ubuntu terminal. In &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"The \u201ccat\u201d Command in Linux [10 Practical Examples]\" class=\"read-more button\" href=\"https:\/\/linuxsimply.com\/cat-command-in-linux\/#more-894\" aria-label=\"Read more about The \u201ccat\u201d Command in Linux [10 Practical Examples]\">Read more<\/a><\/p>\n","protected":false},"author":314888,"featured_media":912,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[54],"class_list":["post-894","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux-commands","tag-file-viewing-commands","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>The \u201ccat\u201d Command in Linux [10 Practical Examples]<\/title>\n<meta name=\"description\" content=\"Learn how to use the &quot;cat&quot; Command in Linux. Get to know all the features and usage with 10 examples that will enrich your Linux knowledge.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/linuxsimply.com\/cat-command-in-linux\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The \u201ccat\u201d Command in Linux [10 Practical Examples]\" \/>\n<meta property=\"og:description\" content=\"Learn how to use the &quot;cat&quot; Command in Linux. Get to know all the features and usage with 10 examples that will enrich your Linux knowledge.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/linuxsimply.com\/cat-command-in-linux\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxSimply\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/profile.php?id=100006072040955\" \/>\n<meta property=\"article:published_time\" content=\"2022-12-06T14:26:48+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-31T10:32:04+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/cat-in-linux.png\" \/>\n\t<meta property=\"og:image:width\" content=\"825\" \/>\n\t<meta property=\"og:image:height\" content=\"825\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Borhan Uddin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/cweb\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Borhan Uddin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/cat-command-in-linux\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/cat-command-in-linux\\\/\"},\"author\":{\"name\":\"Borhan Uddin\",\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/#\\\/schema\\\/person\\\/7218a46f9b5972febb70bc009903c81e\"},\"headline\":\"The \u201ccat\u201d Command in Linux [10 Practical Examples]\",\"datePublished\":\"2022-12-06T14:26:48+00:00\",\"dateModified\":\"2024-03-31T10:32:04+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/cat-command-in-linux\\\/\"},\"wordCount\":1717,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/cat-command-in-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/linuxsimply.com\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/cat-in-linux.png\",\"keywords\":[\"file viewing commands\"],\"articleSection\":[\"Linux Commands\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/linuxsimply.com\\\/cat-command-in-linux\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/cat-command-in-linux\\\/\",\"url\":\"https:\\\/\\\/linuxsimply.com\\\/cat-command-in-linux\\\/\",\"name\":\"The \u201ccat\u201d Command in Linux [10 Practical Examples]\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/cat-command-in-linux\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/cat-command-in-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/linuxsimply.com\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/cat-in-linux.png\",\"datePublished\":\"2022-12-06T14:26:48+00:00\",\"dateModified\":\"2024-03-31T10:32:04+00:00\",\"description\":\"Learn how to use the \\\"cat\\\" Command in Linux. Get to know all the features and usage with 10 examples that will enrich your Linux knowledge.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/cat-command-in-linux\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/linuxsimply.com\\\/cat-command-in-linux\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/cat-command-in-linux\\\/#primaryimage\",\"url\":\"https:\\\/\\\/linuxsimply.com\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/cat-in-linux.png\",\"contentUrl\":\"https:\\\/\\\/linuxsimply.com\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/cat-in-linux.png\",\"width\":825,\"height\":825,\"caption\":\"The \\\"cat\\\" Command in Linux\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/cat-command-in-linux\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/linuxsimply.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"The \u201ccat\u201d Command in Linux [10 Practical Examples]\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/#website\",\"url\":\"https:\\\/\\\/linuxsimply.com\\\/\",\"name\":\"LinuxSimply\",\"description\":\"All About Linux\",\"publisher\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/linuxsimply.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/#organization\",\"name\":\"LinuxSimply\",\"url\":\"https:\\\/\\\/linuxsimply.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/linuxsimply.com\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/LinuxSimply-New-Logo-Without-Icon.png\",\"contentUrl\":\"https:\\\/\\\/linuxsimply.com\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/LinuxSimply-New-Logo-Without-Icon.png\",\"width\":355,\"height\":48,\"caption\":\"LinuxSimply\"},\"image\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/#\\\/schema\\\/person\\\/7218a46f9b5972febb70bc009903c81e\",\"name\":\"Borhan Uddin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/Borhan-Uddin-II-96x96.png\",\"url\":\"https:\\\/\\\/linuxsimply.com\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/Borhan-Uddin-II-96x96.png\",\"contentUrl\":\"https:\\\/\\\/linuxsimply.com\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/Borhan-Uddin-II-96x96.png\",\"caption\":\"Borhan Uddin\"},\"description\":\"Hello, I am Borhan Uddin, a resident of Dhaka, Bangladesh. I have completed my undergraduate degree in Electrical and Electronic Engineering (EEE) from Chittagong University of Engineering and Technology (CUET). I love to spend my leisure by playing and watching various movies &amp; dramas. Currently, I am working as a Linux Content Developer Executive here. I would like to learn more about Linux every day of the week and would be keen to share it with you rapidly. Read Full Bio\",\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/profile.php?id=100006072040955\",\"https:\\\/\\\/www.instagram.com\\\/borhan_.uddin\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/borhan-uddin-7167991b0\\\/\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/cweb\"],\"url\":\"https:\\\/\\\/linuxsimply.com\\\/author\\\/borhan-uddin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"The \u201ccat\u201d Command in Linux [10 Practical Examples]","description":"Learn how to use the \"cat\" Command in Linux. Get to know all the features and usage with 10 examples that will enrich your Linux knowledge.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/linuxsimply.com\/cat-command-in-linux\/","og_locale":"en_US","og_type":"article","og_title":"The \u201ccat\u201d Command in Linux [10 Practical Examples]","og_description":"Learn how to use the \"cat\" Command in Linux. Get to know all the features and usage with 10 examples that will enrich your Linux knowledge.","og_url":"https:\/\/linuxsimply.com\/cat-command-in-linux\/","og_site_name":"LinuxSimply","article_author":"https:\/\/www.facebook.com\/profile.php?id=100006072040955","article_published_time":"2022-12-06T14:26:48+00:00","article_modified_time":"2024-03-31T10:32:04+00:00","og_image":[{"width":825,"height":825,"url":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/cat-in-linux.png","type":"image\/png"}],"author":"Borhan Uddin","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/cweb","twitter_misc":{"Written by":"Borhan Uddin","Est. reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/linuxsimply.com\/cat-command-in-linux\/#article","isPartOf":{"@id":"https:\/\/linuxsimply.com\/cat-command-in-linux\/"},"author":{"name":"Borhan Uddin","@id":"https:\/\/linuxsimply.com\/#\/schema\/person\/7218a46f9b5972febb70bc009903c81e"},"headline":"The \u201ccat\u201d Command in Linux [10 Practical Examples]","datePublished":"2022-12-06T14:26:48+00:00","dateModified":"2024-03-31T10:32:04+00:00","mainEntityOfPage":{"@id":"https:\/\/linuxsimply.com\/cat-command-in-linux\/"},"wordCount":1717,"commentCount":0,"publisher":{"@id":"https:\/\/linuxsimply.com\/#organization"},"image":{"@id":"https:\/\/linuxsimply.com\/cat-command-in-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/cat-in-linux.png","keywords":["file viewing commands"],"articleSection":["Linux Commands"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/linuxsimply.com\/cat-command-in-linux\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/linuxsimply.com\/cat-command-in-linux\/","url":"https:\/\/linuxsimply.com\/cat-command-in-linux\/","name":"The \u201ccat\u201d Command in Linux [10 Practical Examples]","isPartOf":{"@id":"https:\/\/linuxsimply.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/linuxsimply.com\/cat-command-in-linux\/#primaryimage"},"image":{"@id":"https:\/\/linuxsimply.com\/cat-command-in-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/cat-in-linux.png","datePublished":"2022-12-06T14:26:48+00:00","dateModified":"2024-03-31T10:32:04+00:00","description":"Learn how to use the \"cat\" Command in Linux. Get to know all the features and usage with 10 examples that will enrich your Linux knowledge.","breadcrumb":{"@id":"https:\/\/linuxsimply.com\/cat-command-in-linux\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/linuxsimply.com\/cat-command-in-linux\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/linuxsimply.com\/cat-command-in-linux\/#primaryimage","url":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/cat-in-linux.png","contentUrl":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/12\/cat-in-linux.png","width":825,"height":825,"caption":"The \"cat\" Command in Linux"},{"@type":"BreadcrumbList","@id":"https:\/\/linuxsimply.com\/cat-command-in-linux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/linuxsimply.com\/"},{"@type":"ListItem","position":2,"name":"The \u201ccat\u201d Command in Linux [10 Practical Examples]"}]},{"@type":"WebSite","@id":"https:\/\/linuxsimply.com\/#website","url":"https:\/\/linuxsimply.com\/","name":"LinuxSimply","description":"All About Linux","publisher":{"@id":"https:\/\/linuxsimply.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/linuxsimply.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/linuxsimply.com\/#organization","name":"LinuxSimply","url":"https:\/\/linuxsimply.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/linuxsimply.com\/#\/schema\/logo\/image\/","url":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/LinuxSimply-New-Logo-Without-Icon.png","contentUrl":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/LinuxSimply-New-Logo-Without-Icon.png","width":355,"height":48,"caption":"LinuxSimply"},"image":{"@id":"https:\/\/linuxsimply.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/linuxsimply.com\/#\/schema\/person\/7218a46f9b5972febb70bc009903c81e","name":"Borhan Uddin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/Borhan-Uddin-II-96x96.png","url":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/Borhan-Uddin-II-96x96.png","contentUrl":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/Borhan-Uddin-II-96x96.png","caption":"Borhan Uddin"},"description":"Hello, I am Borhan Uddin, a resident of Dhaka, Bangladesh. I have completed my undergraduate degree in Electrical and Electronic Engineering (EEE) from Chittagong University of Engineering and Technology (CUET). I love to spend my leisure by playing and watching various movies &amp; dramas. Currently, I am working as a Linux Content Developer Executive here. I would like to learn more about Linux every day of the week and would be keen to share it with you rapidly. Read Full Bio","sameAs":["https:\/\/www.facebook.com\/profile.php?id=100006072040955","https:\/\/www.instagram.com\/borhan_.uddin\/","https:\/\/www.linkedin.com\/in\/borhan-uddin-7167991b0\/","https:\/\/x.com\/https:\/\/twitter.com\/cweb"],"url":"https:\/\/linuxsimply.com\/author\/borhan-uddin\/"}]}},"_links":{"self":[{"href":"https:\/\/linuxsimply.com\/wp-json\/wp\/v2\/posts\/894","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxsimply.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxsimply.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxsimply.com\/wp-json\/wp\/v2\/users\/314888"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxsimply.com\/wp-json\/wp\/v2\/comments?post=894"}],"version-history":[{"count":0,"href":"https:\/\/linuxsimply.com\/wp-json\/wp\/v2\/posts\/894\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxsimply.com\/wp-json\/wp\/v2\/media\/912"}],"wp:attachment":[{"href":"https:\/\/linuxsimply.com\/wp-json\/wp\/v2\/media?parent=894"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxsimply.com\/wp-json\/wp\/v2\/categories?post=894"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxsimply.com\/wp-json\/wp\/v2\/tags?post=894"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}