

{"id":110790,"date":"2022-09-24T11:00:16","date_gmt":"2022-09-24T05:30:16","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=110790"},"modified":"2022-09-24T12:38:18","modified_gmt":"2022-09-24T07:08:18","slug":"kill-command-in-linux","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/kill-command-in-linux\/","title":{"rendered":"Kill Command in Linux"},"content":{"rendered":"<p>In this article, you will learn all there is to the kill command in Linux-based operating systems. We will be going through, what the kill command is, understanding its signal, and looking at the syntax and options of the kill command. In the end, we will also be looking at some practical examples of the kill command in action!<\/p>\n<h3>What is Linux kill command?<\/h3>\n<p>Kill is a command-line-based utility in Linux-based operating systems that helps terminate a process that is executing. It is builtin in most Bourne-based shells like bach and Zsh. But why use it?<\/p>\n<p>Even though Linux is the greatest operating system in the world, it is not perfect, it has its own flaws. Every once in a while, some applications and programs may start behaving erratically. They become unresponsive or start consuming a lot of system resources.<\/p>\n<p>The worst part of these erratic applications and programs is that you cannot restart them as the original program never shuts down completely. This leaves us with only 2 alternatives, reboot the entire system or kill the process of the application or program.<\/p>\n<p>The kill command comes in handy in exactly these kinds of situations. There are many tools that allow you to terminate errant processes, and \u201ckill\u201d is one of them. The command behavior is slightly different between various shells and the standalone \u201c\/bin\/kill\u201d executable.<\/p>\n<h3>Syntax of the kill command in Linux<\/h3>\n<p>The syntax of the kill command is very easy:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">kill &lt;options&gt; &lt;signals&gt; &lt;PID&gt;<\/pre>\n<p>Let us take a closer look at the fields in the syntax of the kill command:<\/p>\n<h4>1. &lt;options&gt;<\/h4>\n<p>This field takes in a range of options that specify how the kill command should work and print the output.<\/p>\n<h4>2. &lt;signals&gt;<\/h4>\n<p>This option takes in the value of the signals specified by the user.<\/p>\n<h4>3. &lt;PID&gt;<\/h4>\n<p>This field takes in the value of the process identity, you can also specify multiple PIDs in this field.<\/p>\n<h3>Options used with Linux kill command<\/h3>\n<p>In typical Linux fashion, even the kill command has options just like every single command in Linux. However, unlike most commands, the kill command has only 4 options (out of which 1 of them are not even considered an option!). Let us take a look at them:<\/p>\n<h4>1. -s&lt;signal&gt;<\/h4>\n<p>This option specifies the name, abbreviated name, or the number of the signal to be sent, preceded by a dash. Here are some examples: -SIGTERM, -TERM, or -15.<\/p>\n<h4>2. -l<\/h4>\n<p>This option lists all the available signal names (which we will look into in the next section). You can also write this option as \u201c&#8211;list\u201d<\/p>\n<h4>3. -L<\/h4>\n<p>This option lists the available signal names and numbers in a table. You can also write this option as \u201c&#8211;table\u201d.<\/p>\n<h4>4. &#8211;help<\/h4>\n<p>This option displays the help menu of the kill command which contains infomation abouts its options, usage and exit statuses as shown below:<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/08\/help-menu-of-the-kill-command.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-110822\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/08\/help-menu-of-the-kill-command.webp\" alt=\"help menu of the kill command\" width=\"780\" height=\"402\" \/><\/a><\/p>\n<h3>Signals of the kill command<\/h3>\n<p>The kill command sends a signal to the process identity (PID) you specified, causing them to act accordingly to the signal. Before we do deep into the topic of signals, let us first run the command \u201ckill -l\u201d to look at all the available signals:<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/08\/signals-used-with-the-kill-command.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-110823\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/08\/signals-used-with-the-kill-command.webp\" alt=\"signals used with the kill command\" width=\"780\" height=\"293\" \/><\/a><\/p>\n<p>Let us first discuss the theory part of signals and later jump to practical topics like how to specify them.<\/p>\n<p>There are many different signals that can be sent (64 to be precise), out of which most users are interested in only 3 &#8211; SIGTERM, SIGKILL, and SIGHUP. If you don&#8217;t specify anything in the &lt;signal&gt; field in the syntax, the kill command will take the default value like 15 or SIGTERM.<\/p>\n<p>Programs that handle the SIGTERM signal can do useful cleanup operations before quitting like saving configuration information to a file. The process can intercept all signals except SIGKILL and SIGSTOP. All the available signals have different names and have corresponding numbers.<\/p>\n<p>Note that the specific mapping between numbers and signals can vary between UNIX implementations.<\/p>\n<p>Let us now look at the practical part of the signal, we saw that the 3 most used signals are SIGTERM, SIGKILL, and SIGHUP, let us take a closer look at them:<\/p>\n<p>1. SIGHUP &#8211; 1 &#8211; Reload a process<br \/>\n2. SIGKILL &#8211; 9 &#8211; Kill a process<br \/>\n3. SIGTERM &#8211; 15 &#8211; terminate a process.<\/p>\n<p>We can specify signals in the syntax of the kill command in 3 ways, let us look at each method:<\/p>\n<h4>1. Using the number<\/h4>\n<p>You can specify the corresponding number of a signal in 2 ways, the first is to simply put a hyphen before the number (like \u201c-15\u201d). The second method is to use the option \u201c-s\u201d followed by the signal number (like \u201c-s 15\u201d).<\/p>\n<h4>2. Using the name with the prefix \u201cSIG\u201d<\/h4>\n<p>Another method to specify signals is by using the full name of the signal including the prefix \u201cSIG\u201d. Just like we specified number in 2 ways, we can also specify the names in the exact same ways: you can either write \u201c-SIGTERM\u201d or \u201c-s SIGTERM\u201d<\/p>\n<h4>3. Using the name without the prefix \u201cSIG\u201d<\/h4>\n<p>If you are lazy and want to improve your efficiency, you can follow method 2, but remove the prefix \u201cSIG\u201d, meaning, you can now write it as either: \u201c-TERM\u201d or \u201c-s TERM\u201d.<\/p>\n<h3>PID of a process in Linux kill command<\/h3>\n<p>We all know by now that every process had a process identity number. Let us look at what happens when we pass different types of PIDs into the &lt;PID&gt; field in the syntax of the kill command:<\/p>\n<p>1. The signal is sent to the process with an ID equal to the PID if the PID specified by the user is greater than 0.<\/p>\n<p>2. The signal is sent to the process in the current process group if the PID specified by the user is equal to 0.<\/p>\n<p>3. The signal is to all the processes with the same UID as the user invoking the command if the PID specified by the user is equal to -1.<\/p>\n<p>4. The signal is sent to all the processes in the process group eq with GID equal to the non-negative value of the PID if the PID specified by the user is less than -1.<\/p>\n<p>Now that we have laid down the basics, let us look at some cool examples of the kill command terminating commands in the terminal!<\/p>\n<p>Actually, before we see the kill command in action we need to understand another command called \u201cps\u201d. As we saw, we need the PID of a process to specify it in the syntax, but how do we know the PID of the command we want to terminate?<\/p>\n<p>That is exactly what the ps command is for. We can simply be generic and type the standalone ps command and then kill the PID we want:<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/08\/finding-the-pid-of-a-process-by-using-the-ps-command.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-110825\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/08\/finding-the-pid-of-a-process-by-using-the-ps-command.webp\" alt=\"finding the pid of a process by using the ps command\" width=\"458\" height=\"170\" \/><\/a><\/p>\n<p>Or you can use the \u201cpidof\u201d command to specify the process you want the PID of. For example, in the output shown below, the command \u201cpidof firefox\u201d displayed the IDs of all firefox processes.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/08\/finding-the-pid-of-a-specific-process-by-using-the-pidof-command.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-110826\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/08\/finding-the-pid-of-a-specific-process-by-using-the-pidof-command.webp\" alt=\"finding the pid of a specific process by using the pidof command\" width=\"780\" height=\"59\" \/><\/a><\/p>\n<h3>Terminating a process using the kill command<\/h3>\n<p>Now that we have our PIDs, we can now terminate them using any one of the methods we discussed above to specify the signal:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">kill -9 &lt;PID&gt;<\/pre>\n<h3><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/08\/terminating-a-process-using-the-kill-command.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-110827\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/08\/terminating-a-process-using-the-kill-command.webp\" alt=\"terminating a process using the kill command\" width=\"428\" height=\"57\" \/><\/a><\/h3>\n<h3>Terminating multiple processes using the kill command<\/h3>\n<p>If you want to terminate more than 1 process using the kill command, simply specify each PID one after the other separated by a space as shown:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">kill &lt;PID1&gt; &lt;PID2&gt; &lt;PID3&gt; &lt;PID4&gt;<\/pre>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/08\/terminating-multiple-processes-using-the-kill-command.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-110828\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/08\/terminating-multiple-processes-using-the-kill-command.webp\" alt=\"terminating multiple processes using the kill command\" width=\"606\" height=\"55\" \/><\/a><\/p>\n<h3>Terminating all processes of an application<\/h3>\n<p>We can also combine the kill command with other commands also, with and without piping. For example, to terminate all the processes of firefox, use the command shown below:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">kill -9 $(pidof &lt;application&gt;)<\/pre>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/08\/terminating-all-processes-of-an-application.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-110829\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/08\/terminating-all-processes-of-an-application.webp\" alt=\"terminating all processes of an application\" width=\"544\" height=\"32\" \/><\/a><\/p>\n<h3>Reloading process using the kill command<\/h3>\n<p>We saw that the SIGHUP signal tells the process to reload its settings. For example, to reload Nginx, we need to send a signal to the master process. The PID of the Nginx master is in the \u201cnginx.pid\u201d file, which is in the directory \u201cvar\/run\u201d. To obtain the PID of Nginx master, use the command shown in the screenshot below:<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/08\/reloading-process-using-the-kill-command.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-110830\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/08\/reloading-process-using-the-kill-command.webp\" alt=\"reloading process using the kill command\" width=\"780\" height=\"92\" \/><\/a><\/p>\n<p>Once you obtain the PID, all we need to reload it is to use the signal in any of the 3 formats we discussed above:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">kill -1 &lt;PID&gt;<\/pre>\n<h3>Translating signal number<\/h3>\n<p>To translate any signal number into a signal name, use the option \u201c-l\u201d or \u201c-list\u201d as shown:<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/08\/translating-signal-number.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-110831\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/08\/translating-signal-number.webp\" alt=\"translating signal number\" width=\"726\" height=\"116\" \/><\/a><\/p>\n<h3>Easiest way of Killing processes<\/h3>\n<p>If you are really lazy and want to be more productive, you simply use the \u201ckillall\u201d command as it kills every single command running in your system.<\/p>\n<h3>Summary<\/h3>\n<p>As you have seen, the kill command is a really simple command that helps in killing, reloading, termination and so many more operations on processes and applications. You have now learned what the kill command is, what it is used for, the syntax, options, signal, PIDs and practical examples of the kill command in the terminal.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article, you will learn all there is to the kill command in Linux-based operating systems. We will be going through, what the kill command is, understanding its signal, and looking at the&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":110792,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[35],"tags":[27087],"class_list":["post-110790","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","tag-linux-kill-command"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Kill Command in Linux - DataFlair<\/title>\n<meta name=\"description\" content=\"Learn about kill command in linux. See its syntax, options, signals, PID of a process, termination process using this command 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\/kill-command-in-linux\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Kill Command in Linux - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Learn about kill command in linux. See its syntax, options, signals, PID of a process, termination process using this command etc.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/kill-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-09-24T05:30:16+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-09-24T07:08:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/06\/linux-kill-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":"Kill Command in Linux - DataFlair","description":"Learn about kill command in linux. See its syntax, options, signals, PID of a process, termination process using this command 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\/kill-command-in-linux\/","og_locale":"en_US","og_type":"article","og_title":"Kill Command in Linux - DataFlair","og_description":"Learn about kill command in linux. See its syntax, options, signals, PID of a process, termination process using this command etc.","og_url":"https:\/\/data-flair.training\/blogs\/kill-command-in-linux\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2022-09-24T05:30:16+00:00","article_modified_time":"2022-09-24T07:08:18+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/06\/linux-kill-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\/kill-command-in-linux\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/kill-command-in-linux\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/b49855299264df5e27e3ec6c2cd9fde9"},"headline":"Kill Command in Linux","datePublished":"2022-09-24T05:30:16+00:00","dateModified":"2022-09-24T07:08:18+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/kill-command-in-linux\/"},"wordCount":1441,"commentCount":0,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/kill-command-in-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/06\/linux-kill-command.webp","keywords":["Linux kill command"],"articleSection":["Linux Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/kill-command-in-linux\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/kill-command-in-linux\/","url":"https:\/\/data-flair.training\/blogs\/kill-command-in-linux\/","name":"Kill Command in Linux - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/kill-command-in-linux\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/kill-command-in-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/06\/linux-kill-command.webp","datePublished":"2022-09-24T05:30:16+00:00","dateModified":"2022-09-24T07:08:18+00:00","description":"Learn about kill command in linux. See its syntax, options, signals, PID of a process, termination process using this command etc.","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/kill-command-in-linux\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/kill-command-in-linux\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/kill-command-in-linux\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/06\/linux-kill-command.webp","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/06\/linux-kill-command.webp","width":1200,"height":628,"caption":"linux kill command"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/kill-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":"Kill 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\/b49855299264df5e27e3ec6c2cd9fde9","name":"DataFlair Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ef46b745ddad2fad690af626c6ef29b91809ad0a9f5ef398d07817d8cad042f5?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ef46b745ddad2fad690af626c6ef29b91809ad0a9f5ef398d07817d8cad042f5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ef46b745ddad2fad690af626c6ef29b91809ad0a9f5ef398d07817d8cad042f5?s=96&d=mm&r=g","caption":"DataFlair Team"},"description":"DataFlair Team is a group of passionate educators and industry experts dedicated to providing high-quality online learning resources on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. With years of experience in the field, the team aims to simplify complex topics and help learners advance their careers. At DataFlair, we believe in empowering students and professionals with the knowledge and skills needed to thrive in today\u2019s fast-paced tech industry. Follow us for Free courses, expert insights, tutorials, and practical tips to boost your learning journey.","url":"https:\/\/data-flair.training\/blogs\/author\/datafbdad\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/110790","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\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=110790"}],"version-history":[{"count":3,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/110790\/revisions"}],"predecessor-version":[{"id":110832,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/110790\/revisions\/110832"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/110792"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=110790"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=110790"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=110790"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}