

{"id":110800,"date":"2022-10-07T10:00:01","date_gmt":"2022-10-07T04:30:01","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=110800"},"modified":"2022-10-07T10:16:07","modified_gmt":"2022-10-07T04:46:07","slug":"su-command-in-linux","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/su-command-in-linux\/","title":{"rendered":"SU Command in Linux"},"content":{"rendered":"<p>In this article, we will start right from what su is, and go through a brief history of it, how it works, comparing it with the sudo command, and the syntax and options of linux su command. In the end, we will also be looking into some practical examples of the su command in the terminal.<\/p>\n<h3>What is su command in Linux?<\/h3>\n<p>Su is the abbreviation for \u201cSwitch User\u201d. The su command is a command-line-based utility in Linux based operating system that helps in running functions as a different user. This command is the easiest way to change the administrative account in the current logged-in session.<\/p>\n<p>Some distributions of Linux like Ubuntu disable the rot user account by default to make the system more secure. However, this is one downside to it, this feature restricts the user from running specific commands. Now, of course you can use sudo privileges, but what if you are not there in the sudoers list?<\/p>\n<p>The su command comes in handy in exactly these kinds of situations. When you use the su command, you act as a root user allows therefore bypassing these restrictions and performing different tasks as different users.<\/p>\n<p>The su command only switches the user, unlike the sudo command that gives you elevated permission. Since both of them are so similar, it is best to compare both of them to understand them better.<br \/>\nSUDO vs SU<\/p>\n<p>Before we proceed further and see the usage of the sudo command let us take a moment to compare another very similar command \u201cSU\u201d with the SUDO command. Why are we comparing? Well, we are doing so because these are the only 2 commands used in Linux to gain momentary access or elevated privileges.<\/p>\n<p>The SU command stands for \u201cSubstitute user\u201d whereas SUDO stands for \u201cSuper User Do\u201d. the most distinguishable difference between the 2 is that the SU command is used on its own or mostly with the substitute username as a parameter.<\/p>\n<p>One more advantages of the the sudo command is that the root password doesn\u2019t need to be shared among multiple administrative user accounts and you can also allow users to run only specific programs with root privileges.<\/p>\n<p>SUDO on the other hand is a prefix for another command. Sudo is the most loved of the 2, because of its ability to define constraints on whether a user can use sudo and with what command he can use it.<\/p>\n<p>A brief history of the su command<\/p>\n<p>Su command was a part of the 1st version of UNIX, it included features like Unix permissions systems and the setuid system call. In the 3version of UNIX, encrypted passwords appeared.<\/p>\n<p>The su command was removed from the GNU Coreutils pack on the 8.18 release on the 12 of August 2012. It is also available on Microsoft windows as part of the UnxUtils collection of the Native Win32 ports of common GNU Unix-like utilities. The su command is now a part of the util-Linux package.<\/p>\n<h3>Syntax of Linux SU command<\/h3>\n<p>The syntax of the su command is pretty easy:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">su &lt;options&gt; &lt;user &lt;argument&gt;&gt;<\/pre>\n<p>Let us look at the fields present in the syntax of the su command:<\/p>\n<h4>1. &lt;options&gt;<\/h4>\n<p>This field takes in a range of options that specify how the su command should function and print the output.<\/p>\n<h4>2. &lt;user&gt;<\/h4>\n<p>This field specifies the name of the user you want to temporarily become.<\/p>\n<h4>3. &lt;arguments&gt;<\/h4>\n<p>This file takes in the command you want to run as a different user.<\/p>\n<h3>Options used with linux su 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 11 options (out of which 2 of them are not even considered options!). Let us take a look at them:<\/p>\n<h4>1. -c<\/h4>\n<p>This option specifies a command that will invoke upon the shell using the option \u201c-c\u201d. You can also write this option as \u201c&#8211;command\u201d<\/p>\n<h4>2. -l<\/h4>\n<p>This option provides an environment similar to what the user would expect had the user logged in directly. You can also write this option as \u201c&#8211;login\u201d<\/p>\n<h4>3. -s<\/h4>\n<p>This option invokes the shell. You can also write this option as \u201c&#8211;shell\u201d.<\/p>\n<h4>4. -V<\/h4>\n<p>This option prints the information about the version of su you are using.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/08\/version-of-the-su-command.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-110849\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/08\/version-of-the-su-command.webp\" alt=\"version of the su command\" width=\"374\" height=\"86\" \/><\/a><\/p>\n<h4>5. -m<\/h4>\n<p>This option preserves the current environment, except for the variables $PATH and $IFS. You can also write this option as \u201c&#8211;preserve-environment\u201d.<\/p>\n<h4>6. -w<\/h4>\n<p>This option does not reset the specified variables. You can also write this option as \u201c&#8211;whitelist-environment\u201d.<\/p>\n<h4>7. -g<\/h4>\n<p>This option specifies the primary group. You can also write this option as \u201c&#8211;group\u201d.<\/p>\n<h4>8. -G<\/h4>\n<p>This option specifies the supplementary group. You can also write this option as \u201c&#8211;supp-group\u201d.<\/p>\n<h4>9. -p<\/h4>\n<p>This option creates a new pseudo-terminal You can also write this option as \u201c&#8211;pty\u201d.<\/p>\n<h4>10. -f<\/h4>\n<p>This option passes \u201c-f\u201d to the shell (this option is applicable only for users of the csh and tcsh shells). You can also write this option as \u201c&#8211;fast\u201d.<\/p>\n<h4>11. -h<\/h4>\n<p>This option displays the help menu which consisted of different information regarding the options and usage of the su command. You can also write this option as \u201c&#8211;help\u201d. The command \u201csu -h\u201d of \u201csu &#8211;help\u201d prints the menu shown below:<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/08\/help-menu-of-the-su-command.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-110850\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/08\/help-menu-of-the-su-command.webp\" alt=\"help menu of the su command\" width=\"780\" height=\"565\" \/><\/a><\/p>\n<p>Now that we have laid down the fundamentals, let us look at how to use the su command.<\/p>\n<h3>Changing to root user<\/h3>\n<p>If you want to change from your current user to the root user, simply run the su command with no options whatsoever, the system will then prompt you to enter the password. Once you enter the correct password, you will notice the change in the shell (the color and name) as shown below:<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/08\/changing-to-root-user.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-110851\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/08\/changing-to-root-user.webp\" alt=\"changing to root user\" width=\"492\" height=\"94\" \/><\/a><\/p>\n<h3>Changing to another user from the root user<\/h3>\n<p>Ok, now you have changed to the root user but how do you come back? Well simply execute the su command followed by your user name. Since you are now the root user, the system will not prompt youtube to enter your password.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">su &lt;username&gt;<\/pre>\n<h3><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/08\/changing-to-another-user-from-the-root-user.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-110852\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/08\/changing-to-another-user-from-the-root-user.webp\" alt=\"changing to another user from the root user\" width=\"552\" height=\"59\" \/><\/a><\/h3>\n<h3>Changing current directory (option \u201c-l\u201d)<\/h3>\n<p>Sometimes even though you change back to your username from the root user, the current directory remains. To change this, use the option \u201c-l\u201d as you are changing.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">su -l &lt;username&gt;<\/pre>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/08\/changing-current-directory.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-110853\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/08\/changing-current-directory.webp\" alt=\"changing current directory\" width=\"634\" height=\"61\" \/><\/a><\/p>\n<p>It is always recommended to use the option \u201c-l\u201d while switching back because apart from changing the current directory it also does the following<\/p>\n<p>1. All the environmental variables except \u201cTERM\u201d are cleared for terminal handling and whitelisted variables<\/p>\n<p>2. The option \u201c-l\u201d also loads the environmental variables USER, LOGNAME, HOME, PATH, and SHELL.<\/p>\n<p>3. It changes the current directory for the target user\u2019s home.<\/p>\n<p>4. It turns the shell into a login shell.<\/p>\n<p>Another way to recreate the above-mentioned feature is to use a hyphen as shown below:<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/08\/another-method-to-change-the-current-directory.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-110854\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/08\/another-method-to-change-the-current-directory.webp\" alt=\"another method to change the current directory\" width=\"542\" height=\"55\" \/><\/a><\/p>\n<h3>Elevated privileges using the su command<\/h3>\n<p>Let us say that we need to list the contents of the \u201c\/root\u201d directory, we know that since we don\u2019t have superuser privileges, we can\u2019s accees it:<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/08\/permission-denied-as-we-dont-have-elevated-priveliges.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-110856\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/08\/permission-denied-as-we-dont-have-elevated-priveliges.webp\" alt=\"permission denied as we dont have elevated priveliges\" width=\"614\" height=\"75\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>One thing we are used to in such cases is to use the sudo command because we can temporarily get elevated permissions to view the contents of the \u201c\/root\u201d directory:<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/08\/using-the-sudo-command-to-get-elevated-permissions.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-110857\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/08\/using-the-sudo-command-to-get-elevated-permissions.webp\" alt=\"using the sudo command to get elevated permissions\" width=\"428\" height=\"98\" \/><\/a><\/p>\n<p>But did you know that we can do the same thing with the su command also? We can make use of the option \u201c-c\u201d followed by the argument, followed by the user you want to execute it as (in this case the root user):<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">su -c &lt;argument&gt; &lt;user&gt;<\/pre>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/08\/using-the-su-command-to-get-elevated-permissions.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-110855\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/08\/using-the-su-command-to-get-elevated-permissions.webp\" alt=\"using the su command to get elevated permissions\" width=\"550\" height=\"100\" \/><\/a><\/p>\n<p>If you really badly want to check if that is the same output we get if we run the command as the root user, we can change our username and execute it:<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/08\/checking-if-the-same-output-is-obtained-as-root-user.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-110858\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/08\/checking-if-the-same-output-is-obtained-as-root-user.webp\" alt=\"checking if the same output is obtained as root user\" width=\"490\" height=\"80\" \/><\/a><\/p>\n<p>Since we are on the topic of \u2018sudo\u2019 and \u2018root user\u2019, we can directly add a user to the list of sudoers (to enable the use of the sudo command to a user) directly using the command \u201cusermod -aG sudo &lt;user&gt;\u201d instead of going into the text editor and entering the name of the user.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/08\/quick-way-of-adding-a-user-into-the-sudoers-list.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-110859\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/08\/quick-way-of-adding-a-user-into-the-sudoers-list.webp\" alt=\"quick way of adding a user into the sudoers list\" width=\"702\" height=\"55\" \/><\/a><\/p>\n<h3>Summary<\/h3>\n<p>As you have seen the su command is a really simple command that helps in switching users and also running commands as other users. You have now learned what su is, a brief history of it, compared the th SUDO command with su, syntax, option and practical example of the su command.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article, we will start right from what su is, and go through a brief history of it, how it works, comparing it with the sudo command, and the syntax and options of&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":110801,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[35],"tags":[27092,27091,27093],"class_list":["post-110800","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","tag-linux-su","tag-su-command-in-linux","tag-syntax-of-linux-su-command"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>SU Command in Linux - DataFlair<\/title>\n<meta name=\"description\" content=\"Learn what linux su command is, its history, how it works, comparing it with the sudo command, and the syntax and options of the su command.\" \/>\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\/su-command-in-linux\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SU Command in Linux - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Learn what linux su command is, its history, how it works, comparing it with the sudo command, and the syntax and options of the su command.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/su-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-10-07T04:30:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-10-07T04:46:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/06\/linux-su-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":"SU Command in Linux - DataFlair","description":"Learn what linux su command is, its history, how it works, comparing it with the sudo command, and the syntax and options of the su command.","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\/su-command-in-linux\/","og_locale":"en_US","og_type":"article","og_title":"SU Command in Linux - DataFlair","og_description":"Learn what linux su command is, its history, how it works, comparing it with the sudo command, and the syntax and options of the su command.","og_url":"https:\/\/data-flair.training\/blogs\/su-command-in-linux\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2022-10-07T04:30:01+00:00","article_modified_time":"2022-10-07T04:46:07+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/06\/linux-su-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\/su-command-in-linux\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/su-command-in-linux\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/b49855299264df5e27e3ec6c2cd9fde9"},"headline":"SU Command in Linux","datePublished":"2022-10-07T04:30:01+00:00","dateModified":"2022-10-07T04:46:07+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/su-command-in-linux\/"},"wordCount":1361,"commentCount":0,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/su-command-in-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/06\/linux-su-command.webp","keywords":["linux su","SU Command in Linux","syntax of linux su command"],"articleSection":["Linux Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/su-command-in-linux\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/su-command-in-linux\/","url":"https:\/\/data-flair.training\/blogs\/su-command-in-linux\/","name":"SU Command in Linux - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/su-command-in-linux\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/su-command-in-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/06\/linux-su-command.webp","datePublished":"2022-10-07T04:30:01+00:00","dateModified":"2022-10-07T04:46:07+00:00","description":"Learn what linux su command is, its history, how it works, comparing it with the sudo command, and the syntax and options of the su command.","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/su-command-in-linux\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/su-command-in-linux\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/su-command-in-linux\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/06\/linux-su-command.webp","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/06\/linux-su-command.webp","width":1200,"height":628,"caption":"linux su command"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/su-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":"SU 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\/110800","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=110800"}],"version-history":[{"count":3,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/110800\/revisions"}],"predecessor-version":[{"id":110860,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/110800\/revisions\/110860"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/110801"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=110800"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=110800"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=110800"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}