

{"id":111216,"date":"2022-12-16T11:00:47","date_gmt":"2022-12-16T05:30:47","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=111216"},"modified":"2023-01-20T15:29:12","modified_gmt":"2023-01-20T09:59:12","slug":"comm-command-in-linux","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/comm-command-in-linux\/","title":{"rendered":"Comm Command in Linux"},"content":{"rendered":"<p>This article will teach you about the comm command in Linux-based operating systems. We will look at the comm command, why it is used, the syntax of the comm command, and the options used along with it.<\/p>\n<p>At the end, we will also look at some fantastic practical examples of the comm command by pairing it with various options to understand its working. So pay attention, take notes, and read to the end for the best benefits.<\/p>\n<h3>What is Linux comm command?<\/h3>\n<p>Comm is the abbreviation for &#8220;compare&#8221;. The comm command is a command-line-based utility in the Linux-based operating system that compares two sorted files line by line and writes to standard output.<\/p>\n<p>For example, if you have two lists of people and need to find out the names available in one, not in the other, or even those common to both, we can use the comm command to achieve this.<\/p>\n<p>The comm command needs two sorted files, which it compares line by line. The comm command compares every line of the files and displays the files&#8217; unique lines and common lines in separate columns.<\/p>\n<h3>What is the syntax of Linux comm command?<\/h3>\n<p>The syntax of the comm command is very simple. Take a look:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">comm &lt;OPTION&gt; &lt;FILE1&gt; &lt;FILE2&gt;<\/pre>\n<p>Here are the fields present in the syntax of the comm command.<\/p>\n<p><strong>1. &lt;OPTIONS&gt;<\/strong><\/p>\n<p>This field takes in a range of options that specify how the comm command must function, format, and print the output. You can also specify more than one option in this field.<\/p>\n<p><strong>2. &lt;FILE1&gt; &lt;FILE2&gt;<\/strong><\/p>\n<p>These fields take in the filenames of the files you want to compare. For example, if you want to compare two files that are not present in your current working directory, you can enter the complete path of the files.<\/p>\n<h3>Options used with comm command in Linux<\/h3>\n<p>Unlike most commands in Linux, the comm command comes with very few options. Let us take a detailed look at each.<\/p>\n<p><strong>1. -1<\/strong><\/p>\n<p>This option suppresses the first column. The first column contains the lines unique to &lt;FILE1&gt;.<\/p>\n<p><strong>2. -2<\/strong><\/p>\n<p>This option suppresses the second column. The second column contains the lines unique to &lt;FILE2&gt;.<\/p>\n<p><strong>3. -3<\/strong><\/p>\n<p>This option suppresses the third column. The third column contains the common lines in both &lt;FILE1&gt; and &lt;FILE2&gt;.<\/p>\n<p><strong>4. &#8211;help<\/strong><\/p>\n<p>This option prints the help menu of the comm command, as shown below:<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/12\/help-3.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-111226\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/12\/help-3.webp\" alt=\"help\" width=\"1230\" height=\"731\" \/><\/a><\/p>\n<p><strong>5. &#8211;check-order<\/strong><\/p>\n<p>This option checks if the input is correctly sorted, even when all input lines are pairable.<\/p>\n<p><strong>6. &#8211;nocheck-order<\/strong><\/p>\n<p>This option is the opposite of the option &#8220;&#8211;check-order&#8221;. It does not check if the input is correctly sorted.<\/p>\n<p><strong>7. &#8211;output-delimiter<\/strong><\/p>\n<p>This option separates the columns with the string you specified.<\/p>\n<p><strong>8. &#8211;version<\/strong><\/p>\n<p>This option prints the version of the comm command you are using.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/12\/version-1.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-111227\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/12\/version-1.webp\" alt=\"version\" width=\"1230\" height=\"337\" \/><\/a><\/p>\n<h3>Understanding output of Linux comm command<\/h3>\n<p>Before we look at some fascinating examples of the comm command in action, let us first understand its output. However, before we do so, let us consider the following two files:<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/12\/file1.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-111228\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/12\/file1.webp\" alt=\"file1\" width=\"1230\" height=\"353\" \/><\/a><\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/12\/file2.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-111229\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/12\/file2.webp\" alt=\"file2\" width=\"1230\" height=\"409\" \/><\/a><\/p>\n<p>You must remember that the file you are comparing using the comm command must always be sorted (alphabetically or numerically). For example, let us compare these two files by using the command shown below:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">comm file1 file2<\/pre>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/12\/comm-output.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-111230\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/12\/comm-output.webp\" alt=\"comm output\" width=\"1230\" height=\"409\" \/><\/a><\/p>\n<p>We can see that the output consists of 3 columns. The first column contains the lines unique to file 1 (not in file2). For example, in our case, the words baking soda, salt, and vanilla extract are unique to file1.<\/p>\n<p>The second column contains the words that are unique to file2. For example, the words chicken salad, onions, pickles, potato chips, soda pop, and tomatoes are unique to file2.<\/p>\n<p>The third column contains common words in both file1 and fil2. In our case, the words all-purpose flour, brown sugar, chocolate chips, eggs, milk, and white sugar are common in both file1 and file2.<\/p>\n<p>Now, since we have covered the theory and fundamentals regarding the comm command, let us look at some fantastic examples of the comm command in the terminal of ubuntu 20.04.<\/p>\n<h3>Comparing unsorted files in Linux<\/h3>\n<p>Rember when I said that the files comm command compares only sorted files? Well, it is true, but not entirely. Let us first see what happens if we compare two unsorted files (consider the files shown below):<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/12\/unsorted-filt-first.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-111231\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/12\/unsorted-filt-first.webp\" alt=\"unsorted file first\" width=\"1230\" height=\"353\" \/><\/a><\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/12\/unsorted-file2.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-111232\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/12\/unsorted-file2.webp\" alt=\"unsorted file2\" width=\"1230\" height=\"353\" \/><\/a><\/p>\n<p>Upon comparing the files shown above, we get an error stating that the files are not in sorted order.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/12\/comparing-unsorted-files.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-111233\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/12\/comparing-unsorted-files.webp\" alt=\"comparing unsorted files\" width=\"1230\" height=\"337\" \/><\/a><\/p>\n<p>We use the option &#8220;-no check-order&#8221; to eliminate this error. This option does not check the order of the file and still prints out the differences between them.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/12\/no-check.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-111234\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/12\/no-check.webp\" alt=\"no check\" width=\"1230\" height=\"337\" \/><\/a><\/p>\n<p>As you can see, even though the two files are not alphabetically sorted, the comm command still prints the differences between them if you pair it with the &#8220;noorder-check command.&#8221;<\/p>\n<h3>Not printing the lines unique to file1<\/h3>\n<p>If you don&#8217;t want to print the first column, i.e., the lines unique to the first file, you can pair the comm command with the option &#8220;-1&#8221;, as shown below:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">comm -1 &lt;FILE1&gt; &lt;FILE2&gt;<\/pre>\n<h3><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/12\/not-printing-lines-unique-to-first-file.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-111235\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/12\/not-printing-lines-unique-to-first-file.webp\" alt=\"not printing lines unique to first file\" width=\"1230\" height=\"363\" \/><\/a><\/h3>\n<h3>Not printing the lines unique to file2<\/h3>\n<p>If you don&#8217;t want to print the second column, i.e., the lines unique to the second file, you can combine the comm command with the option &#8220;-2&#8221;, as shown below:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">comm -2 &lt;FILE1&gt; &lt;FILE2&gt;<\/pre>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/12\/Not-printing-lines-unique-to-file2.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-111236\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/12\/Not-printing-lines-unique-to-file2.webp\" alt=\"Not printing lines unique to file2\" width=\"1230\" height=\"353\" \/><\/a><\/p>\n<h3>Not printing the lines common to file1 and file2<\/h3>\n<p>If you don&#8217;t want to print the third column, i.e., the lines unique to the second file,x, you can combine the comm command with the option &#8220;-3&#8221;, as shown below:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">comm -3 &lt;FILE1&gt; &lt;FILE2&gt;<\/pre>\n<h3><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/12\/not-printing-lines-common-to-first-file.webp.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-111237\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/12\/not-printing-lines-common-to-first-file.webp.webp\" alt=\"not printing lines common to first file\" width=\"1230\" height=\"337\" \/><\/a><\/h3>\n<h3>Printing only the lines common to file1 and file1<\/h3>\n<p>If you want to suppress both column 1 and column 2 and print only the third column (the common lines between file1 and file2), use the syntax below.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">comm -12 &lt;FILE1&gt; &lt;FILE2&gt;<\/pre>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/12\/files-common-to-first-second-files.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-111238\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/12\/files-common-to-first-second-files.webp\" alt=\"files common to first second files\" width=\"1230\" height=\"337\" \/><\/a><\/p>\n<h3>Displaying the number of lines<\/h3>\n<p>To know the number of lines in each column, you can execute the comm command along with the &#8220;&#8211;total&#8221; option as shown:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">comm -total &lt;FILE1&gt; &lt;FILE2&gt;<\/pre>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/12\/displaying-the-number-of-lines.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-111239\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/12\/displaying-the-number-of-lines.webp\" alt=\"displaying the number of lines\" width=\"1230\" height=\"413\" \/><\/a><\/p>\n<h3>Separating the columns<\/h3>\n<p>By default, the null value in the table is empty. However, if you want to replace the empty space with a character or string of your choice, use the &#8220;&#8211;output-delimiter&#8221; option followed by the string as shown below:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">comm --output-delimiter=&lt;string&gt; &lt;FILE1&gt; &lt;FILE2&gt;<\/pre>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/12\/output-delimiters.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-111240\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/12\/output-delimiters.webp\" alt=\"output delimiters\" width=\"1230\" height=\"430\" \/><\/a><\/p>\n<h3>Summary<\/h3>\n<p>As you have seen, the comm command compares every line of the files and displays the unique lines and common lines of the files in separate columns.<\/p>\n<p>You have now learned the comm command, why it is used, the syntax, and the options used with it. We have also seen many fascinating examples of the comm command in action.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This article will teach you about the comm command in Linux-based operating systems. We will look at the comm command, why it is used, the syntax of the comm command, and the options used&#46;&#46;&#46;<\/p>\n","protected":false},"author":5,"featured_media":111225,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[35],"tags":[27165],"class_list":["post-111216","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","tag-comm-command-in-linux"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Comm Command in Linux - DataFlair<\/title>\n<meta name=\"description\" content=\"Learn about comm command in Linux. See its syntax, options, output, Comparing unsorted files, Displaying the number of lines etc.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/data-flair.training\/blogs\/comm-command-in-linux\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Comm Command in Linux - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Learn about comm command in Linux. See its syntax, options, output, Comparing unsorted files, Displaying the number of lines etc.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/comm-command-in-linux\/\" \/>\n<meta property=\"og:site_name\" content=\"DataFlair\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DataFlairWS\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-12-16T05:30:47+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-01-20T09:59:12+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/12\/comm-command-in-linux.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"DataFlair Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:site\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DataFlair Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Comm Command in Linux - DataFlair","description":"Learn about comm command in Linux. See its syntax, options, output, Comparing unsorted files, Displaying the number of lines etc.","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:\/\/data-flair.training\/blogs\/comm-command-in-linux\/","og_locale":"en_US","og_type":"article","og_title":"Comm Command in Linux - DataFlair","og_description":"Learn about comm command in Linux. See its syntax, options, output, Comparing unsorted files, Displaying the number of lines etc.","og_url":"https:\/\/data-flair.training\/blogs\/comm-command-in-linux\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2022-12-16T05:30:47+00:00","article_modified_time":"2023-01-20T09:59:12+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/12\/comm-command-in-linux.webp","type":"image\/webp"}],"author":"DataFlair Team","twitter_card":"summary_large_image","twitter_creator":"@DataFlairWS","twitter_site":"@DataFlairWS","twitter_misc":{"Written by":"DataFlair Team","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/comm-command-in-linux\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/comm-command-in-linux\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/7f83c342f5d1632d6f7b4b0b0f447823"},"headline":"Comm Command in Linux","datePublished":"2022-12-16T05:30:47+00:00","dateModified":"2023-01-20T09:59:12+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/comm-command-in-linux\/"},"wordCount":1067,"commentCount":0,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/comm-command-in-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/12\/comm-command-in-linux.webp","keywords":["Comm Command in Linux"],"articleSection":["Linux Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/comm-command-in-linux\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/comm-command-in-linux\/","url":"https:\/\/data-flair.training\/blogs\/comm-command-in-linux\/","name":"Comm Command in Linux - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/comm-command-in-linux\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/comm-command-in-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/12\/comm-command-in-linux.webp","datePublished":"2022-12-16T05:30:47+00:00","dateModified":"2023-01-20T09:59:12+00:00","description":"Learn about comm command in Linux. See its syntax, options, output, Comparing unsorted files, Displaying the number of lines etc.","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/comm-command-in-linux\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/comm-command-in-linux\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/comm-command-in-linux\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/12\/comm-command-in-linux.webp","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/12\/comm-command-in-linux.webp","width":1200,"height":628,"caption":"comm command in linux"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/comm-command-in-linux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"Linux Tutorials","item":"https:\/\/data-flair.training\/blogs\/category\/linux\/"},{"@type":"ListItem","position":3,"name":"Comm Command in Linux"}]},{"@type":"WebSite","@id":"https:\/\/data-flair.training\/blogs\/#website","url":"https:\/\/data-flair.training\/blogs\/","name":"DataFlair","description":"Learn Today. Lead Tomorrow.","publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/data-flair.training\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/data-flair.training\/blogs\/#organization","name":"DataFlair","url":"https:\/\/data-flair.training\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","width":106,"height":48,"caption":"DataFlair"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataFlairWS\/","https:\/\/x.com\/DataFlairWS","https:\/\/www.linkedin.com\/company\/dataflair-web-services-pvt-ltd\/","https:\/\/www.youtube.com\/user\/DataFlairWS"]},{"@type":"Person","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/7f83c342f5d1632d6f7b4b0b0f447823","name":"DataFlair Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4cf3a74600d131330b8c481d519afd1574093ed89f6d3396a95393ad223eb7cd?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4cf3a74600d131330b8c481d519afd1574093ed89f6d3396a95393ad223eb7cd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4cf3a74600d131330b8c481d519afd1574093ed89f6d3396a95393ad223eb7cd?s=96&d=mm&r=g","caption":"DataFlair Team"},"description":"DataFlair Team creates expert-level guides on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our goal is to empower learners with easy-to-understand content. Explore our resources for career growth and practical learning.","url":"https:\/\/data-flair.training\/blogs\/author\/dfteam1\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/111216","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=111216"}],"version-history":[{"count":4,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/111216\/revisions"}],"predecessor-version":[{"id":111575,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/111216\/revisions\/111575"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/111225"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=111216"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=111216"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=111216"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}