

{"id":111290,"date":"2023-01-02T09:00:21","date_gmt":"2023-01-02T03:30:21","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=111290"},"modified":"2023-01-02T09:10:03","modified_gmt":"2023-01-02T03:40:03","slug":"top-command-in-linux","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/top-command-in-linux\/","title":{"rendered":"Top Command in Linux"},"content":{"rendered":"<p>In this article, we will learn everything about the top command in Linux. First, we will look at the top command and its uses and understand the output of the top command as we take a closer look at the fields in the output, the syntax of the top command, and the options used along with it.<\/p>\n<p>In the end, we will also look at some crazy practical examples of the top 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 top command in Linux?<\/h3>\n<p>Top is the abbreviation for Table Of Processes, a command-line-based utility in Linux-based operating systems displaying information about the processes in the system. This command is a boon for system administrators as it provides a dynamic real-time view of the running system.<\/p>\n<p>The top command shows a gist <strong>of the system and the list of processes or threads which<\/strong> the Linux Kernel currently manages. It also shows you other information like CPU utilisation, memory utilisation, user name, process ID, and much more (we will look at it when we understand the top command output).<\/p>\n<h3>Syntax of Linux top command<\/h3>\n<p>The syntax of the top command is shown below:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">top &lt;options&gt;<\/pre>\n<h3>Options used with top command in Linux<\/h3>\n<p>We can combine the top command with a range of options that specify how the top command must function, format, and print the output. We can pair the top command with multiple options too! Let us take a brief look at each of the options available with the top command:<\/p>\n<p><strong>1. -b<\/strong><\/p>\n<p>This option starts the top command in batch mode. In this mode, you can send output from top to other programs or a file.<\/p>\n<p><strong>2. -c<\/strong><\/p>\n<p>This option starts the top command with the last remembered &#8216;c&#8217; state reversed.<\/p>\n<p><strong>3. -d<\/strong><\/p>\n<p>This option specifies the delay between screen updates and overrides the corresponding value in one&#8217;s personal configuration file.<\/p>\n<p><strong>4. -h<\/strong><\/p>\n<p>This option displays individual threads. Without this option, the top command displays the summation of all threads in each process.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/01\/h-command.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-111302\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/01\/h-command.webp\" alt=\"h command\" width=\"1852\" height=\"921\" \/><\/a><\/p>\n<p><strong>5. -n<\/strong><\/p>\n<p>This option specifies the maximum number of iterations or frames the top command should produce.<\/p>\n<p><strong>6. -p<\/strong><\/p>\n<p>This option monitor and prints the information of the processes which have the PIDs you specified.<\/p>\n<p><strong>7. -s<\/strong><\/p>\n<p>This option starts the top command in secure mode. This option is applicable even for the root user.<\/p>\n<p><strong>8. -S<\/strong><\/p>\n<p>This option starts the top command with the last remembered &#8216;S&#8217; state reversed. In this cumulative time mode, the tip command lists each process along with the CPU time that the process and its dead children have used.<\/p>\n<p><strong>9. -u<\/strong><\/p>\n<p>This option displays the process that matches the uid or username you specified\u2014this enmeshed user-filter mode.<\/p>\n<p><strong>10. -v<\/strong><\/p>\n<p>This option displays information about the version of the top command you are using in your operating system.<\/p>\n<h3>Understanding the output of the top command<\/h3>\n<p>When we use the top command without any options, it prints the output shown below:<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/01\/top-output.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-111303\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/01\/top-output.webp\" alt=\"top output\" width=\"1852\" height=\"921\" \/><\/a><\/p>\n<p>The output shown above contains a lot of valuable information regarding processes. Now let us look closely at each column&#8217;s name and the information they show.<\/p>\n<p><strong>1. PID<\/strong> &#8211; It shows the process identification number.<br \/>\n<strong>2. USER<\/strong> &#8211; It shows the user&#8217;s name running the process.<br \/>\n<strong>3. PR<\/strong> &#8211; It shows the scheduling priority for the process.<br \/>\n<strong>4. NI<\/strong> &#8211; It shows the nice value of the process,<br \/>\n<strong>5. VIRT<\/strong> &#8211; It shows the virtual memory amount used by the process.<br \/>\n<strong>6. ES<\/strong> &#8211; It shows the resident&#8217;s (physical) memory amount used by the process.<br \/>\n<strong>7. RHR<\/strong> &#8211; It shows the total shared memory used by the process.<br \/>\n<strong>8. S<\/strong> &#8211; The status of the process &#8211; R means running, and S means sleeping.<br \/>\n<strong>9. %CPU<\/strong> &#8211; It shows the percentage of CPU usage.<br \/>\n<strong>10. %MEM<\/strong> &#8211; It shows the memory usage percentage.<br \/>\n<strong>11. TIME+<\/strong> &#8211; It shows the total CPU usage amount.<br \/>\n<strong>12. COMMAND<\/strong> &#8211; It shows the command&#8217;s name that started the process.<\/p>\n<p>Now that we have covered the basics and the theoretical part of the top command, let us understand how the top command and its options work by looking at some practical examples in the terminal of Ubuntu 20.04.<\/p>\n<h4>Sorting processes based on PID<\/h4>\n<p>Once you have executed the top command, press the &#8220;m&#8221; and &#8220;t&#8221; keys to sort the processes shown on the screen based on their process identification number.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/01\/pid.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-111304\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/01\/pid.webp\" alt=\"pid\" width=\"1852\" height=\"921\" \/><\/a><\/p>\n<h4>Sorting processes based on memory utilization<\/h4>\n<p>If you want to sort the processes based on the memory utilization, press the &#8220;m&#8221; and &#8220;p&#8221; keys in the interactive mode of the top command.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/01\/sorting-processes-.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-111309\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/01\/sorting-processes-.webp\" alt=\"sorting processes\" width=\"1852\" height=\"921\" \/><\/a><\/p>\n<h4>Sorting processes based on run time<\/h4>\n<p>Use the keys &#8220;m&#8221; and &#8220;t&#8221; in the interactive mode of the top command to sort the processes with respect to their run times.<\/p>\n<p>&nbsp;<\/p>\n<h4>Displaying processes based on user<\/h4>\n<p>If you want to display information based on user-specific processes, combine the top command with the option &#8220;-u&#8221; followed by the username.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/01\/user-based-processes.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-111313\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/01\/user-based-processes.webp\" alt=\"user based processes\" width=\"1852\" height=\"921\" \/><\/a><\/p>\n<h4>Highlighting the running processes<\/h4>\n<p>If you want to improve readability and change the colour of the running processes to red, you must press the &#8220;z&#8221; key in the interactive mode of the top command.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/01\/highlighting.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-111306\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/01\/highlighting.webp\" alt=\"highlighting\" width=\"1852\" height=\"921\" \/><\/a><\/p>\n<h4>Listing the absolute path of processes<\/h4>\n<p>If you want to display the absolute path of the processes that are running, press the &#8220;c&#8221; key in the interactive mode of the top command.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/01\/absolute-path.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-111315\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/01\/absolute-path.webp\" alt=\"absolute path\" width=\"1852\" height=\"921\" \/><\/a><\/p>\n<h4>Setting a refresh interval in Linux<\/h4>\n<p>The default setting of the top command is to refresh the screen every 3 seconds. Nonetheless, if you want to set the number of seconds after which the screen must refresh, you can press the key &#8220;d&#8221; in the interactive mode of the top command.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/01\/setting-refresh-interval.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-111312\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/01\/setting-refresh-interval.webp\" alt=\"setting refresh interval\" width=\"1852\" height=\"921\" \/><\/a><\/p>\n<h4>Killing a process in Linux<\/h4>\n<p>If you want to kill a process, use the key &#8220;k&#8221; followed by the PID of the process you wish to terminate in the interactive mode of the top command.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/01\/killing-process.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-111310\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/01\/killing-process.webp\" alt=\"killing process\" width=\"1852\" height=\"921\" \/><\/a><\/p>\n<h4>Sorting processes based on CPU utilisation<\/h4>\n<p>If you want to sort all of the running processes with respect to their CPU utilisation, press the key combination &#8220;shift&#8221; + &#8220;p&#8221; in the interactive mode of the top command.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/01\/sorting-on-cpu-utilization.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-111311\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/01\/sorting-on-cpu-utilization.webp\" alt=\"sorting on cpu utilization\" width=\"1852\" height=\"921\" \/><\/a><\/p>\n<h4>Changing the priority of a process<\/h4>\n<p>If you want to change the priority of a process, you can press the option &#8220;r&#8221; after executing the top command. The process of changing the priority of a process is also called renice.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/01\/changing-priority.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-111314\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/01\/changing-priority.webp\" alt=\"changing priority\" width=\"1852\" height=\"921\" \/><\/a><\/p>\n<h4>Displaying CPU cores<\/h4>\n<p>If you want to check your information on the load on your CPU, you can ask the top command to print the CPU core information by pressing &#8220;1.&#8221;<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/01\/cpu-cores.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-111308\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/01\/cpu-cores.webp\" alt=\"cpu cores\" width=\"1852\" height=\"921\" \/><\/a><\/p>\n<h4>Saving the top command result in a file<\/h4>\n<p>If you want to save the top command&#8217;s output in a file to check later, pair the top command with the option &#8220;-b&#8221; followed by the name of the file you want to save the output in. Use the following syntax: top -b &lt;filename&gt;.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/01\/run-time.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-111316\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/01\/run-time.webp\" alt=\"run time\" width=\"1852\" height=\"921\" \/><\/a><\/p>\n<h4>Listing idle processes<\/h4>\n<p>If you want to list all idle or sleeping processes, type the key &#8220;i&#8221; after executing the top command.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/01\/listing-idle-processes.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-111307\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/01\/listing-idle-processes.webp\" alt=\"listing idle processes\" width=\"1852\" height=\"921\" \/><\/a><\/p>\n<h4>Exiting the top command after a specific repetition<\/h4>\n<p>If you want to exit the top command automatically after a few specific repetitions, run the top command with the option &#8220;-n&#8221; followed by the number of repetitions as shown:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">top -n &lt;number&gt;<\/pre>\n<h3>Summary<\/h3>\n<p>As you have seen, the top command is a simple tool that prints valuable real-time information on your system&#8217;s process. You have now understood the top command as we discussed what it is used for, the syntax of the top command, the options used along with it, and the output of the top command. We have also seen many practical examples of the top command, like sorting, procuring other valuable information, and more.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article, we will learn everything about the top command in Linux. First, we will look at the top command and its uses and understand the output of the top command as we&#46;&#46;&#46;<\/p>\n","protected":false},"author":5,"featured_media":111300,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[35],"tags":[27179],"class_list":["post-111290","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","tag-top-command-in-linux"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Top Command in Linux - DataFlair<\/title>\n<meta name=\"description\" content=\"Learn about Linux Top Command with example. It is a simple tool that prints valuable real-time information on your system&#039;s process.\" \/>\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\/top-command-in-linux\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Top Command in Linux - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Learn about Linux Top Command with example. It is a simple tool that prints valuable real-time information on your system&#039;s process.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/top-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=\"2023-01-02T03:30:21+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-01-02T03:40:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/01\/linux-top-command.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=\"9 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Top Command in Linux - DataFlair","description":"Learn about Linux Top Command with example. It is a simple tool that prints valuable real-time information on your system's process.","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\/top-command-in-linux\/","og_locale":"en_US","og_type":"article","og_title":"Top Command in Linux - DataFlair","og_description":"Learn about Linux Top Command with example. It is a simple tool that prints valuable real-time information on your system's process.","og_url":"https:\/\/data-flair.training\/blogs\/top-command-in-linux\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2023-01-02T03:30:21+00:00","article_modified_time":"2023-01-02T03:40:03+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/01\/linux-top-command.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":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/top-command-in-linux\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/top-command-in-linux\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/7f83c342f5d1632d6f7b4b0b0f447823"},"headline":"Top Command in Linux","datePublished":"2023-01-02T03:30:21+00:00","dateModified":"2023-01-02T03:40:03+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/top-command-in-linux\/"},"wordCount":1265,"commentCount":0,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/top-command-in-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/01\/linux-top-command.webp","keywords":["Top Command in Linux"],"articleSection":["Linux Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/top-command-in-linux\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/top-command-in-linux\/","url":"https:\/\/data-flair.training\/blogs\/top-command-in-linux\/","name":"Top Command in Linux - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/top-command-in-linux\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/top-command-in-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/01\/linux-top-command.webp","datePublished":"2023-01-02T03:30:21+00:00","dateModified":"2023-01-02T03:40:03+00:00","description":"Learn about Linux Top Command with example. It is a simple tool that prints valuable real-time information on your system's process.","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/top-command-in-linux\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/top-command-in-linux\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/top-command-in-linux\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/01\/linux-top-command.webp","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/01\/linux-top-command.webp","width":1200,"height":628,"caption":"linux top command"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/top-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":"Top 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\/111290","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=111290"}],"version-history":[{"count":4,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/111290\/revisions"}],"predecessor-version":[{"id":111317,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/111290\/revisions\/111317"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/111300"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=111290"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=111290"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=111290"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}