{"id":18469,"date":"2020-12-09T05:41:11","date_gmt":"2020-12-09T13:41:11","guid":{"rendered":"https:\/\/careerkarma.com\/blog\/?p=18469"},"modified":"2023-12-01T04:05:47","modified_gmt":"2023-12-01T12:05:47","slug":"linux-add-user-to-group","status":"publish","type":"post","link":"https:\/\/careerkarma.com\/blog\/linux-add-user-to-group\/","title":{"rendered":"How to Add a User to a Group in Linux"},"content":{"rendered":"\n<p><em>You can add a user to a group in Linux using the usermod command. To add a user to a group, specify the -a -G flags. These should be followed by the name of the group to which you want to add a user and the user&#8217;s username.<\/em><\/p>\n\n\n\n<p>Linux groups are collections of users and are used to define a set of privileges those users share. You may be asking yourself: How can I add a user to a group on the <a href=\"https:\/\/careerkarma.com\/blog\/what-is-linux\/\">Linux operating system<\/a>?<\/p>\n\n\n\n<p>In this guide, we\u2019re going to discuss how to add a user to a group in Linux. We\u2019ll give you an example of how to add an existing user to a group. In addition, we&#8217;ll talk about how to add a new user to a group.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-what-is-a-linux-group\">What is a Linux Group?<\/h2>\n\n\n\n<p>Linux groups help developers manage user accounts in Linux. You can set individual permissions for each user. But, this can be impractical if you\u2019re working with multiple users who should all have the same privileges.<\/p>\n\n\n\n<p>Using groups, you can specify which users can read, write or execute a specific resource on a Linux computer. For instance, we could specify that only a member of the \u201ccareerkarma\u201d group could access the \u201c\/home\/careerkarma\/tutorials\u201d folder on a server.<\/p>\n\n\n\n<p>There are two types of Linux groups:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Primary group<\/strong>: This is the same as your login name and is the main group of which your user is a part. Your files cannot be accessed by other members of a group on a Linux computer.<\/li><li><strong>Secondary group<\/strong>: Secondary groups, also known as supplementary groups, let you share access to files.<\/li><\/ul>\n\n\n\n<p>To add a user to a group, you\u2019ll need to use the <a href=\"https:\/\/careerkarma.com\/blog\/linux-sudo-command\/\">Linux sudo command<\/a>. This is because adding users to a group modifies their access permissions to files.<\/p>\n\n\n\n<p>Now that we know the basics of groups on Linux systems, let\u2019s dive into how to add users to a group.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-to-add-a-user-to-a-group-linux\">How to Add a User to a Group Linux<\/h2>\n\n\n\n<p>The usermod command adds a user to a Linux group. -a -G flags should be used to add an existing user account to a group. The syntax for the usermod command is: usermod -a -G groupname username.<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>sudo usermod -a -G group_to_add username<\/pre><\/div>\n\n\n\n<p>Let&#8217;s break down this syntax:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>The <em>-a<\/em> flag tells usermod to add a user to a group.<\/li><li>The <em>-G<\/em> flag specifies the name of the secondary group to which you want to add the user.<\/li><\/ul>\n\n\n\n<p>If you want to change a user\u2019s primary group, you can use the <em>-g<\/em> flag instead. You need to use the sudo command to use usermod:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>sudo usermod ...<\/pre><\/div>\n\n\n\n<p>This is because usermod requires sudo privileges. This makes sense because usermod directly modifies user accounts on a Linux system.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-linux-add-user-to-group-example\">Linux: Add User to Group Example<\/h2>\n\n\n\n<p>Let\u2019s say you want to add the user \u201ccareerkarma\u201d to the \u201csudo\u201d group on our computer. We could do so using this command:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>sudo usermod -a -G sudo careerkarma<\/pre><\/div>\n\n\n\n<p>This command will add \u201ccareerkarma\u201d to the \u201csudo\u201d group. You won\u2019t see any output from this command.<\/p>\n\n\n\n<p>But if you try to access a file that was only accessible to another group, you\u2019ll see that your privileges have changed. In this case, now the \u201ccareerkarma\u201d user can use \u201csudo\u201d to access files because it has been added to the \u201csudo\u201d group.<\/p>\n\n\n\n<p>If you want to add a user to multiple groups, you can use the same command as above. But, you should separate the group names to which you want to add the user. To add \u201ccareerkarma\u201d to both the \u201csudo\u201d and \u201ctest\u201d groups, we could use this command:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>sudo usermod -a -G sudo,test careerkarma<\/pre><\/div>\n\n\n\n<p>We have added the &#8220;careerkarma&#8221; user to our two groups. Because our user is now part of the sudo group, they can execute the &#8220;sudo&#8221; command. Our user can also execute any other Linux command that require sudo privileges.<\/p>\n\n\n\n<p>We can also access all the files accessible to the &#8220;test&#8221; group.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-add-user-to-group-linux-new-user-example\">Add User to Group Linux: New User Example<\/h2>\n\n\n\n<p>There may be a case where you want to create a new user and immediately add them to a group. That\u2019s where the useradd command comes in. The useradd command allows you to create a new user and by also using the <em>-g<\/em> option, add the user to a group.<\/p>\n\n\n\n<p>Suppose we want to create a new user called cktutorials and add them to the primary group \u201cstaff\u201d and secondary group \u201ctest\u201d. We could do so using this command:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>sudo useradd -g staff -G test cktutorials<\/pre><\/div>\n\n\n\n<p>We need to add &#8220;sudo&#8221; to the start of our command so it appears as &#8220;sudo useradd &#8230;&#8221; This is because, like usermod, useradd relates to accounts on the file system. These accounts are protected by sudo.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-to-check-a-user-s-group\">How to Check a User\u2019s Group<\/h2>\n\n\n\n<p>The id command gives you the ability to see all the groups to which a user has access. This makes it easy to see whether you have successfully added a user to a group in Linux.<\/p>\n\n\n\n<p>Here\u2019s the syntax for the id command:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>id username<\/pre><\/div>\n\n\n\n<p>We see an output like this:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>uid=501(careerkarma) gid=20(staff) groups=20(staff) ...<\/pre><\/div>\n\n\n\n<p>This tells us that the primary group of which \u201ccareerkarma\u201d is a part is \u201cstaff\u201d. We have shortened this output for brevity because this command can return a long list of groups, depending on how your system is configured.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-conclusion\">Conclusion<\/h2>\n\n\n\n<p>If you want to work with Linux, you need to go beyond\u00a0<a href=\"https:\/\/careerkarma.com\/blog\/what-is-coding-used-for\/\">what coding is<\/a>\u00a0and the basics of the C programming language. You&#8217;ll also need to become familiar with simple Linux commands such as adding a user to a group.<\/p>\n\n\n\n<p>The <em>usermod<\/em> command allows you to add users to groups in Linux. If the user you want to add to a group does not already exist, you can use the <em>useradd -g<\/em> command.<\/p>\n\n\n\n<p>To learn more about <em>usermod<\/em> and <em>useradd<\/em> commands, run the <em>man<\/em> command in your terminal, followed by the command name. This will allow you to see the user manual for that command, which will provide you with more examples and flags you can use.<\/p>\n\n\n\n<p>For advice on top Linux learning resources, courses, and books, read our complete <a href=\"https:\/\/careerkarma.com\/blog\/how-to-learn-linux\/\">How to Learn Linux guide<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"You can add a user to a group in Linux using the usermod command. To add a user to a group, specify the -a -G flags. These should be followed by the name of the group to which you want to add a user and the user's username. Linux groups are collections of users and&hellip;","protected":false},"author":240,"featured_media":18470,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[18070],"tags":[],"class_list":{"0":"post-18469","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-software-engineering-skills"},"acf":{"post_sub_title":"","sprint_id":"","query_class":"Software Engineering","school_sft":"","parent_sft":"","school_privacy_policy":"","has_review":null,"is_sponser_post":"","is_guest_post":""},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Add a User to a Group in Linux | Career Karma<\/title>\n<meta name=\"description\" content=\"The usermod command allows you to add a user to a group in Linux. On Career Karma, learn how to use the usermod 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:\/\/careerkarma.com\/blog\/linux-add-user-to-group\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Add a User to a Group in Linux\" \/>\n<meta property=\"og:description\" content=\"The usermod command allows you to add a user to a group in Linux. On Career Karma, learn how to use the usermod command.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/careerkarma.com\/blog\/linux-add-user-to-group\/\" \/>\n<meta property=\"og:site_name\" content=\"Career Karma\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/facebook.com\/careerkarmaapp\" \/>\n<meta property=\"article:published_time\" content=\"2020-12-09T13:41:11+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-01T12:05:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/06\/karthik-swarnkar-AoNvwL-Dmtw-unsplash.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1020\" \/>\n\t<meta property=\"og:image:height\" content=\"680\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"James Gallagher\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@career_karma\" \/>\n<meta name=\"twitter:site\" content=\"@career_karma\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"James Gallagher\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/linux-add-user-to-group\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/linux-add-user-to-group\\\/\"},\"author\":{\"name\":\"James Gallagher\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#\\\/schema\\\/person\\\/e79364792443fbff794a144c67ec8e94\"},\"headline\":\"How to Add a User to a Group in Linux\",\"datePublished\":\"2020-12-09T13:41:11+00:00\",\"dateModified\":\"2023-12-01T12:05:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/linux-add-user-to-group\\\/\"},\"wordCount\":1018,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/linux-add-user-to-group\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/karthik-swarnkar-AoNvwL-Dmtw-unsplash.jpg\",\"articleSection\":[\"Software Engineering\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/careerkarma.com\\\/blog\\\/linux-add-user-to-group\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/linux-add-user-to-group\\\/\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/linux-add-user-to-group\\\/\",\"name\":\"How to Add a User to a Group in Linux | Career Karma\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/linux-add-user-to-group\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/linux-add-user-to-group\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/karthik-swarnkar-AoNvwL-Dmtw-unsplash.jpg\",\"datePublished\":\"2020-12-09T13:41:11+00:00\",\"dateModified\":\"2023-12-01T12:05:47+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#\\\/schema\\\/person\\\/e79364792443fbff794a144c67ec8e94\"},\"description\":\"The usermod command allows you to add a user to a group in Linux. On Career Karma, learn how to use the usermod command.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/linux-add-user-to-group\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/careerkarma.com\\\/blog\\\/linux-add-user-to-group\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/linux-add-user-to-group\\\/#primaryimage\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/karthik-swarnkar-AoNvwL-Dmtw-unsplash.jpg\",\"contentUrl\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/karthik-swarnkar-AoNvwL-Dmtw-unsplash.jpg\",\"width\":1020,\"height\":680},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/linux-add-user-to-group\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Software Engineering\",\"item\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/software-engineering-skills\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to Add a User to a Group in Linux\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/\",\"name\":\"Career Karma\",\"description\":\"Latest Coding Bootcamp News &amp; Career Hacks from Industry Insiders\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#\\\/schema\\\/person\\\/e79364792443fbff794a144c67ec8e94\",\"name\":\"James Gallagher\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/james-gallagher-150x150.jpg\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/james-gallagher-150x150.jpg\",\"contentUrl\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/james-gallagher-150x150.jpg\",\"caption\":\"James Gallagher\"},\"description\":\"James Gallagher is a self-taught programmer and the technical content manager at Career Karma. He has experience in range of programming languages and extensive expertise in Python, HTML, CSS, and JavaScript. James has written hundreds of programming tutorials, and he frequently contributes to publications like Codecademy, Treehouse, Repl.it, Afrotech, and others.\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/author\\\/jamesgallagher\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Add a User to a Group in Linux | Career Karma","description":"The usermod command allows you to add a user to a group in Linux. On Career Karma, learn how to use the usermod 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:\/\/careerkarma.com\/blog\/linux-add-user-to-group\/","og_locale":"en_US","og_type":"article","og_title":"How to Add a User to a Group in Linux","og_description":"The usermod command allows you to add a user to a group in Linux. On Career Karma, learn how to use the usermod command.","og_url":"https:\/\/careerkarma.com\/blog\/linux-add-user-to-group\/","og_site_name":"Career Karma","article_publisher":"http:\/\/facebook.com\/careerkarmaapp","article_published_time":"2020-12-09T13:41:11+00:00","article_modified_time":"2023-12-01T12:05:47+00:00","og_image":[{"width":1020,"height":680,"url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/06\/karthik-swarnkar-AoNvwL-Dmtw-unsplash.jpg","type":"image\/jpeg"}],"author":"James Gallagher","twitter_card":"summary_large_image","twitter_creator":"@career_karma","twitter_site":"@career_karma","twitter_misc":{"Written by":"James Gallagher","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/careerkarma.com\/blog\/linux-add-user-to-group\/#article","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/linux-add-user-to-group\/"},"author":{"name":"James Gallagher","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"headline":"How to Add a User to a Group in Linux","datePublished":"2020-12-09T13:41:11+00:00","dateModified":"2023-12-01T12:05:47+00:00","mainEntityOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/linux-add-user-to-group\/"},"wordCount":1018,"commentCount":0,"image":{"@id":"https:\/\/careerkarma.com\/blog\/linux-add-user-to-group\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/06\/karthik-swarnkar-AoNvwL-Dmtw-unsplash.jpg","articleSection":["Software Engineering"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/careerkarma.com\/blog\/linux-add-user-to-group\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/careerkarma.com\/blog\/linux-add-user-to-group\/","url":"https:\/\/careerkarma.com\/blog\/linux-add-user-to-group\/","name":"How to Add a User to a Group in Linux | Career Karma","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/linux-add-user-to-group\/#primaryimage"},"image":{"@id":"https:\/\/careerkarma.com\/blog\/linux-add-user-to-group\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/06\/karthik-swarnkar-AoNvwL-Dmtw-unsplash.jpg","datePublished":"2020-12-09T13:41:11+00:00","dateModified":"2023-12-01T12:05:47+00:00","author":{"@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"description":"The usermod command allows you to add a user to a group in Linux. On Career Karma, learn how to use the usermod command.","breadcrumb":{"@id":"https:\/\/careerkarma.com\/blog\/linux-add-user-to-group\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/careerkarma.com\/blog\/linux-add-user-to-group\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/linux-add-user-to-group\/#primaryimage","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/06\/karthik-swarnkar-AoNvwL-Dmtw-unsplash.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/06\/karthik-swarnkar-AoNvwL-Dmtw-unsplash.jpg","width":1020,"height":680},{"@type":"BreadcrumbList","@id":"https:\/\/careerkarma.com\/blog\/linux-add-user-to-group\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/careerkarma.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Software Engineering","item":"https:\/\/careerkarma.com\/blog\/software-engineering-skills\/"},{"@type":"ListItem","position":3,"name":"How to Add a User to a Group in Linux"}]},{"@type":"WebSite","@id":"https:\/\/careerkarma.com\/blog\/#website","url":"https:\/\/careerkarma.com\/blog\/","name":"Career Karma","description":"Latest Coding Bootcamp News &amp; Career Hacks from Industry Insiders","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/careerkarma.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94","name":"James Gallagher","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg","caption":"James Gallagher"},"description":"James Gallagher is a self-taught programmer and the technical content manager at Career Karma. He has experience in range of programming languages and extensive expertise in Python, HTML, CSS, and JavaScript. James has written hundreds of programming tutorials, and he frequently contributes to publications like Codecademy, Treehouse, Repl.it, Afrotech, and others.","url":"https:\/\/careerkarma.com\/blog\/author\/jamesgallagher\/"}]}},"_links":{"self":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/18469","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/users\/240"}],"replies":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/comments?post=18469"}],"version-history":[{"count":0,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/18469\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media\/18470"}],"wp:attachment":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media?parent=18469"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/categories?post=18469"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/tags?post=18469"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}