{"id":94267,"date":"2023-02-21T11:00:00","date_gmt":"2023-02-21T19:00:00","guid":{"rendered":""},"modified":"2024-06-17T07:39:57","modified_gmt":"2024-06-17T14:39:57","slug":"introducing-bash-for-beginners","status":"publish","type":"post","link":"https:\/\/opensource.microsoft.com\/blog\/2023\/02\/21\/introducing-bash-for-beginners\/","title":{"rendered":"Introducing Bash for Beginners"},"content":{"rendered":"\n<p>A new <a href=\"https:\/\/aka.ms\/BashForBeginners\" target=\"_blank\" rel=\"noreferrer noopener\">Microsoft video series<\/a> for developers learning how to script.<\/p>\n\n\n\n<p>According to <a href=\"https:\/\/survey.stackoverflow.co\/2022\/#technology-most-popular-technologies\" target=\"_blank\" rel=\"noreferrer noopener\">Stack Overflow 2022 Developer Survey<\/a>, Bash is one of the top 10 most popular technologies. This shouldn\u2019t come as a surprise, given the popularity of using Linux systems with the Bash shell readily installed, across many tech stacks and the cloud. On Azure, more than 50 percent of <a href=\"https:\/\/azure.microsoft.com\/resources\/linux-on-azure-infographic\/\" target=\"_blank\" rel=\"noreferrer noopener\">virtual machine (VM) cores run on Linux<\/a>. There is no better time to learn Bash!<\/p>\n\n\n\n<p>Long gone are the days of feeling intimidated by a black screen with text known as a terminal. Say goodbye to blindly typing in &#8220;chmod 777&#8221; while following a tutorial. Say hello to task automation, scripting fundamentals, programming basics, and your first steps to working with a cloud environment via the bash command line.<\/p>\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/opensource.microsoft.com\/blog\/wp-content\/uploads\/2023\/02\/Picture1-1024x575.webp\" alt=\"This is the series thumbnail. Bash for Beginners on the top left in green text. The text Welcome to Bash for Beginners is in the center left, also in green. Beneath these are photos of the faces of the hosts, Gwyneth and Josh. \" class=\"wp-image-94271 webp-format\" srcset=\"https:\/\/opensource.microsoft.com\/blog\/wp-content\/uploads\/2023\/02\/Picture1-1024x575.png 1024w, https:\/\/opensource.microsoft.com\/blog\/wp-content\/uploads\/2023\/02\/Picture1-300x168.png 300w, https:\/\/opensource.microsoft.com\/blog\/wp-content\/uploads\/2023\/02\/Picture1-768x431.png 768w, https:\/\/opensource.microsoft.com\/blog\/wp-content\/uploads\/2023\/02\/Picture1-235x132.png 235w, https:\/\/opensource.microsoft.com\/blog\/wp-content\/uploads\/2023\/02\/Picture1-960x540.png 960w, https:\/\/opensource.microsoft.com\/blog\/wp-content\/uploads\/2023\/02\/Picture1-800x449.png 800w, https:\/\/opensource.microsoft.com\/blog\/wp-content\/uploads\/2023\/02\/Picture1-400x225.png 400w, https:\/\/opensource.microsoft.com\/blog\/wp-content\/uploads\/2023\/02\/Picture1-450x253.png 450w, https:\/\/opensource.microsoft.com\/blog\/wp-content\/uploads\/2023\/02\/Picture1-650x365.webp 650w, https:\/\/opensource.microsoft.com\/blog\/wp-content\/uploads\/2023\/02\/Picture1.webp 1430w\" data-orig-src=\"https:\/\/opensource.microsoft.com\/blog\/wp-content\/uploads\/2023\/02\/Picture1-1024x575.png\" data-orig-srcset=\"https:\/\/opensource.microsoft.com\/blog\/wp-content\/uploads\/2023\/02\/Picture1-1024x575.png 1024w, https:\/\/opensource.microsoft.com\/blog\/wp-content\/uploads\/2023\/02\/Picture1-300x168.png 300w, https:\/\/opensource.microsoft.com\/blog\/wp-content\/uploads\/2023\/02\/Picture1-768x431.png 768w, https:\/\/opensource.microsoft.com\/blog\/wp-content\/uploads\/2023\/02\/Picture1-235x132.png 235w, https:\/\/opensource.microsoft.com\/blog\/wp-content\/uploads\/2023\/02\/Picture1-960x540.png 960w, https:\/\/opensource.microsoft.com\/blog\/wp-content\/uploads\/2023\/02\/Picture1-800x449.png 800w, https:\/\/opensource.microsoft.com\/blog\/wp-content\/uploads\/2023\/02\/Picture1-400x225.png 400w, https:\/\/opensource.microsoft.com\/blog\/wp-content\/uploads\/2023\/02\/Picture1-450x253.png 450w, https:\/\/opensource.microsoft.com\/blog\/wp-content\/uploads\/2023\/02\/Picture1-650x365.png 650w, https:\/\/opensource.microsoft.com\/blog\/wp-content\/uploads\/2023\/02\/Picture1.png 1430w\"><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">What we&#8217;ll be covering<\/h2>\n\n\n\n<p>My cohost, Josh, and I will walk you through everything you need to get started with Bash in <a href=\"https:\/\/aka.ms\/BashForBeginners\" target=\"_blank\" rel=\"noreferrer noopener\">this 20-part<\/a> series. We will provide an overview of the basics of Bash scripting, starting with how to get help from within the terminal. The terminal is a window that lets you interact with your computer&#8217;s operating system, and in this case, the Bash shell. To get help with a specific command, you can use the <strong>man <\/strong>command followed by the name of the command you need help with. For example, <strong>man ls<\/strong> will provide information on the ls command, which is used for listing directories and finding files.<\/p>\n\n\n\n<p>Once you&#8217;ve gotten help from within the terminal, you can start navigating the file system. You&#8217;ll learn how to list directories and find files, as well as how to work with directories and files themselves. This includes creating, copying, moving, and deleting directories and files. You&#8217;ll also learn how to view the contents of a file using the <strong>cat <\/strong>command.<\/p>\n\n\n\n<p>Another important aspect of Bash is environment variables. These are values that are set by the operating system and are used by different programs and scripts. In Bash, you can access these variables using the &#8220;$&#8221; symbol followed by the name of the variable. For example, <strong>$PATH<\/strong> will give you the <strong>value<\/strong> of the PATH environment variable, which specifies the directories where the shell should search for commands.<\/p>\n\n\n\n<p>Redirection and pipelines are two other important concepts in Bash. Redirection allows you to control the input and output of a command, while pipelines allow you to chain multiple commands together. For example, you can use the &#8220;&gt;&#8221; symbol to <strong>redirect <\/strong>the output of a command to a file, and the &#8220;|&#8221; symbol to <strong>pipe <\/strong>the output of one command to the input of another.<\/p>\n\n\n\n<p>When working with files in Linux, you&#8217;ll also need to understand file permissions. In Linux, files have permissions that determine who can access them and what they can do with them. You&#8217;ll learn about the different types of permissions\u2014such as read, write, and execute, and how to change them using the <strong>chmod <\/strong>command.<\/p>\n\n\n\n<p>Next, we&#8217;ll cover some of the basics of Bash scripting. You&#8217;ll learn how to create a script, use variables, and work with conditional statements, such as \u201cif\u201d and \u201cif else\u201d. You&#8217;ll also learn how to use a case statement, which is a way to control the flow of execution based on the value of a variable. Functions are another important aspect of Bash scripting, and you&#8217;ll learn how to create and use them to simplify your scripts. Finally, you&#8217;ll learn about loops, which allow you to repeat a set of commands multiple times.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why Bash matters<\/h2>\n\n\n\n<p>Bash is a versatile and powerful language that is widely used. Whether you&#8217;re looking to automate tasks, manage files, or work with cloud environments, Bash is a great place to start. With the knowledge you&#8217;ll gain from this series, you&#8217;ll be well on your way to becoming a proficient Bash scripter.<\/p>\n\n\n\n<p>Many other tools like programming languages and command-line interfaces (CLIs) integrate with Bash, so not only is this the beginning of a new skill set, but also a good primer for many others. Want to move on and learn how to become efficient with the Azure CLI? Bash integrates with the <a href=\"https:\/\/learn.microsoft.com\/cli\/azure\/azure-cli-learn-bash\" target=\"_blank\" rel=\"noreferrer noopener\">Azure CLI<\/a> seamlessly. Want to learn a language like Python? Learning Bash teaches you the basic programming concepts you need to know such as flow control, conditional logic, and loops with Bash, which makes it easier to pick up Python. Want to have a Linux development environment on your Windows device? <a href=\"https:\/\/learn.microsoft.com\/windows\/wsl\/about\" target=\"_blank\" rel=\"noreferrer noopener\">Windows Subsystem for Linux<\/a> (WSL) has you covered and Bash works there, too!<\/p>\n\n\n\n<p>While we won\u2019t cover absolutely everything there is to Bash, we do make sure to leave you with a solid foundation. At the end of this course, you\u2019ll be able to continue on your own following tutorials, docs, books, and other resources. If live is more your style, catch one of our How Linux Works and How to leverage it in the Cloud <a href=\"https:\/\/developer.microsoft.com\/reactor\/series\/S-1076\/\" target=\"_blank\" rel=\"noreferrer noopener\">Series<\/a> webinars. We\u2019ll cover a primer on <a href=\"https:\/\/developer.microsoft.com\/reactor\/events\/18177\/\" target=\"_blank\" rel=\"noreferrer noopener\">How Linux Works,<\/a> discuss How and when to <a href=\"https:\/\/developer.microsoft.com\/reactor\/events\/18178\/\" target=\"_blank\" rel=\"noreferrer noopener\">use Linux on Azure<\/a>, and get your <a href=\"https:\/\/developer.microsoft.com\/reactor\/events\/18180\/\" target=\"_blank\" rel=\"noreferrer noopener\">developer environment set up with WSL<\/a>.<\/p>\n\n\n\n<p>This <a href=\"https:\/\/aka.ms\/BashForBeginners\" target=\"_blank\" rel=\"noreferrer noopener\"><em>Bash for Beginners<\/em> series<\/a> is part of a growing library of video series on the <a href=\"https:\/\/www.youtube.com\/@MicrosoftDeveloper\/featured\" target=\"_blank\" rel=\"noreferrer noopener\">Microsoft Developer channel<\/a> looking to quickly learn new skills including <a href=\"https:\/\/www.youtube.com\/playlist?list=PLlrxD0HtieHhS8VzuMCfQD4uJ9yne1mE6\" target=\"_blank\" rel=\"noreferrer noopener\">Python<\/a>, <a href=\"https:\/\/www.youtube.com\/playlist?list=PLlrxD0HtieHgX3ExVDMlKjdN8LJsks2CM\" target=\"_blank\" rel=\"noreferrer noopener\">Java<\/a>, <a href=\"https:\/\/www.youtube.com\/playlist?list=PLlrxD0HtieHiVt0KJr0QlwjYv_dAlfrg8\" target=\"_blank\" rel=\"noreferrer noopener\">C#<\/a>, <a href=\"https:\/\/www.youtube.com\/playlist?list=PLlrxD0HtieHjbTjrchBwOVks_sr8EVW1x\" target=\"_blank\" rel=\"noreferrer noopener\">Rust<\/a>, <a href=\"https:\/\/www.youtube.com\/playlist?list=PLlrxD0HtieHhW0NCG7M536uHGOtJ95Ut2\" target=\"_blank\" rel=\"noreferrer noopener\">JavaScript<\/a> and <a href=\"https:\/\/www.youtube.com\/@MicrosoftDeveloper\/search?query=for%20beginners\" target=\"_blank\" rel=\"noreferrer noopener\">more<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Learn more about Bash in our Open Source community<\/h2>\n\n\n\n<p>Need help with your learning journey?<\/p>\n\n\n\n<ul class=\"wp-block-list\"><\/ul>\n\n\n\n<ul class=\"wp-block-list\"><\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/aka.ms\/bashforbeginners\" target=\"_blank\" rel=\"noreferrer noopener\">Watch Bash for Beginners<\/a>&nbsp;<\/li>\n\n\n\n<li>Find <a href=\"https:\/\/twitter.com\/joshduffney\" target=\"_blank\" rel=\"noreferrer noopener\">Josh<\/a> and <a href=\"https:\/\/twitter.com\/madebygps\" target=\"_blank\" rel=\"noreferrer noopener\">myself<\/a> on Twitter.\u00a0\u00a0<\/li>\n\n\n\n<li>Share your questions and progress on our <a href=\"https:\/\/techcommunity.microsoft.com\/t5\/microsoft-reactor\/bd-p\/MicrosoftReactor\" target=\"_blank\" rel=\"noreferrer noopener\">Tech Community<\/a>, we\u2019ll make sure to answer and cheer you on.&nbsp;<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>On Azure, more than 50 percent of virtual machine (VM) cores run on Linux. There is no better time to learn Bash.<\/p>\n","protected":false},"author":6194,"featured_media":95467,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"msxcm_post_with_no_image":false,"ep_exclude_from_search":false,"_classifai_error":"","_classifai_text_to_speech_error":"","footnotes":""},"post_tag":[103,160],"content-type":[340],"topic":[2252],"programming-languages":[2273],"coauthors":[1977],"class_list":["post-94267","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","tag-azurestack","tag-linux","content-type-tutorials-and-demos","topic-tools","programming-languages-bash","review-flag-1593580771-946","review-flag-integ-1593580288-449","review-flag-lever-1593580265-989","review-flag-man-1593580366-446","review-flag-new-1593580248-669","review-flag-vm-1593580807-312"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Introducing Bash for Beginners | Microsoft Open Source Blog<\/title>\n<meta name=\"description\" content=\"On Azure, more than 50 percent of virtual machine cores run on Linux. There is no better time to learn Bash.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/opensource.microsoft.com\/blog\/2023\/02\/21\/introducing-bash-for-beginners\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Introducing Bash for Beginners | Microsoft Open Source Blog\" \/>\n<meta property=\"og:description\" content=\"On Azure, more than 50 percent of virtual machine cores run on Linux. There is no better time to learn Bash.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/opensource.microsoft.com\/blog\/2023\/02\/21\/introducing-bash-for-beginners\/\" \/>\n<meta property=\"og:site_name\" content=\"Microsoft Open Source Blog\" \/>\n<meta property=\"article:published_time\" content=\"2023-02-21T19:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-06-17T14:39:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/opensource.microsoft.com\/blog\/wp-content\/uploads\/2024\/06\/CLO20b_Garrett_Preeti_Jayesh_Aline_001_v2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1170\" \/>\n\t<meta property=\"og:image:height\" content=\"640\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Gwyneth Pe\u00f1a-Siguenza\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@OpenAtMicrosoft\" \/>\n<meta name=\"twitter:site\" content=\"@OpenAtMicrosoft\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Gwyneth Pe\u00f1a-Siguenza\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 min read\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/opensource.microsoft.com\\\/blog\\\/2023\\\/02\\\/21\\\/introducing-bash-for-beginners\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/opensource.microsoft.com\\\/blog\\\/2023\\\/02\\\/21\\\/introducing-bash-for-beginners\\\/\"},\"author\":[{\"@id\":\"https:\\\/\\\/opensource.microsoft.com\\\/blog\\\/author\\\/gwyneth-pena-siguenza\\\/\",\"@type\":\"Person\",\"@name\":\"Gwyneth Pe\u00f1a-Siguenza\"}],\"headline\":\"Introducing Bash for Beginners\",\"datePublished\":\"2023-02-21T19:00:00+00:00\",\"dateModified\":\"2024-06-17T14:39:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/opensource.microsoft.com\\\/blog\\\/2023\\\/02\\\/21\\\/introducing-bash-for-beginners\\\/\"},\"wordCount\":937,\"publisher\":{\"@id\":\"https:\\\/\\\/opensource.microsoft.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/opensource.microsoft.com\\\/blog\\\/2023\\\/02\\\/21\\\/introducing-bash-for-beginners\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/opensource.microsoft.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/06\\\/CLO20b_Garrett_Preeti_Jayesh_Aline_001_v2.webp\",\"keywords\":[\"AzureStack\",\"Linux\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/opensource.microsoft.com\\\/blog\\\/2023\\\/02\\\/21\\\/introducing-bash-for-beginners\\\/\",\"url\":\"https:\\\/\\\/opensource.microsoft.com\\\/blog\\\/2023\\\/02\\\/21\\\/introducing-bash-for-beginners\\\/\",\"name\":\"Introducing Bash for Beginners | Microsoft Open Source Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/opensource.microsoft.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/opensource.microsoft.com\\\/blog\\\/2023\\\/02\\\/21\\\/introducing-bash-for-beginners\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/opensource.microsoft.com\\\/blog\\\/2023\\\/02\\\/21\\\/introducing-bash-for-beginners\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/opensource.microsoft.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/06\\\/CLO20b_Garrett_Preeti_Jayesh_Aline_001_v2.webp\",\"datePublished\":\"2023-02-21T19:00:00+00:00\",\"dateModified\":\"2024-06-17T14:39:57+00:00\",\"description\":\"On Azure, more than 50 percent of virtual machine cores run on Linux. There is no better time to learn Bash.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/opensource.microsoft.com\\\/blog\\\/2023\\\/02\\\/21\\\/introducing-bash-for-beginners\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/opensource.microsoft.com\\\/blog\\\/2023\\\/02\\\/21\\\/introducing-bash-for-beginners\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/opensource.microsoft.com\\\/blog\\\/2023\\\/02\\\/21\\\/introducing-bash-for-beginners\\\/#primaryimage\",\"url\":\"https:\\\/\\\/opensource.microsoft.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/06\\\/CLO20b_Garrett_Preeti_Jayesh_Aline_001_v2.webp\",\"contentUrl\":\"https:\\\/\\\/opensource.microsoft.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/06\\\/CLO20b_Garrett_Preeti_Jayesh_Aline_001_v2.webp\",\"width\":1170,\"height\":640},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/opensource.microsoft.com\\\/blog\\\/2023\\\/02\\\/21\\\/introducing-bash-for-beginners\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/opensource.microsoft.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Introducing Bash for Beginners\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/opensource.microsoft.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/opensource.microsoft.com\\\/blog\\\/\",\"name\":\"Microsoft Open Source Blog\",\"description\":\"Open dialogue about openness at Microsoft \u2013 open source, standards, interoperability\",\"publisher\":{\"@id\":\"https:\\\/\\\/opensource.microsoft.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/opensource.microsoft.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/opensource.microsoft.com\\\/blog\\\/#organization\",\"name\":\"Microsoft Open Source Blog\",\"url\":\"https:\\\/\\\/opensource.microsoft.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/opensource.microsoft.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/opensource.microsoft.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/08\\\/Microsoft-Logo.png\",\"contentUrl\":\"https:\\\/\\\/opensource.microsoft.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/08\\\/Microsoft-Logo.png\",\"width\":259,\"height\":194,\"caption\":\"Microsoft Open Source Blog\"},\"image\":{\"@id\":\"https:\\\/\\\/opensource.microsoft.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/OpenAtMicrosoft\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Introducing Bash for Beginners | Microsoft Open Source Blog","description":"On Azure, more than 50 percent of virtual machine cores run on Linux. There is no better time to learn Bash.","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:\/\/opensource.microsoft.com\/blog\/2023\/02\/21\/introducing-bash-for-beginners\/","og_locale":"en_US","og_type":"article","og_title":"Introducing Bash for Beginners | Microsoft Open Source Blog","og_description":"On Azure, more than 50 percent of virtual machine cores run on Linux. There is no better time to learn Bash.","og_url":"https:\/\/opensource.microsoft.com\/blog\/2023\/02\/21\/introducing-bash-for-beginners\/","og_site_name":"Microsoft Open Source Blog","article_published_time":"2023-02-21T19:00:00+00:00","article_modified_time":"2024-06-17T14:39:57+00:00","og_image":[{"width":1170,"height":640,"url":"https:\/\/opensource.microsoft.com\/blog\/wp-content\/uploads\/2024\/06\/CLO20b_Garrett_Preeti_Jayesh_Aline_001_v2.png","type":"image\/png"}],"author":"Gwyneth Pe\u00f1a-Siguenza","twitter_card":"summary_large_image","twitter_creator":"@OpenAtMicrosoft","twitter_site":"@OpenAtMicrosoft","twitter_misc":{"Written by":"Gwyneth Pe\u00f1a-Siguenza","Est. reading time":"4 min read"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/opensource.microsoft.com\/blog\/2023\/02\/21\/introducing-bash-for-beginners\/#article","isPartOf":{"@id":"https:\/\/opensource.microsoft.com\/blog\/2023\/02\/21\/introducing-bash-for-beginners\/"},"author":[{"@id":"https:\/\/opensource.microsoft.com\/blog\/author\/gwyneth-pena-siguenza\/","@type":"Person","@name":"Gwyneth Pe\u00f1a-Siguenza"}],"headline":"Introducing Bash for Beginners","datePublished":"2023-02-21T19:00:00+00:00","dateModified":"2024-06-17T14:39:57+00:00","mainEntityOfPage":{"@id":"https:\/\/opensource.microsoft.com\/blog\/2023\/02\/21\/introducing-bash-for-beginners\/"},"wordCount":937,"publisher":{"@id":"https:\/\/opensource.microsoft.com\/blog\/#organization"},"image":{"@id":"https:\/\/opensource.microsoft.com\/blog\/2023\/02\/21\/introducing-bash-for-beginners\/#primaryimage"},"thumbnailUrl":"https:\/\/opensource.microsoft.com\/blog\/wp-content\/uploads\/2024\/06\/CLO20b_Garrett_Preeti_Jayesh_Aline_001_v2.webp","keywords":["AzureStack","Linux"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/opensource.microsoft.com\/blog\/2023\/02\/21\/introducing-bash-for-beginners\/","url":"https:\/\/opensource.microsoft.com\/blog\/2023\/02\/21\/introducing-bash-for-beginners\/","name":"Introducing Bash for Beginners | Microsoft Open Source Blog","isPartOf":{"@id":"https:\/\/opensource.microsoft.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/opensource.microsoft.com\/blog\/2023\/02\/21\/introducing-bash-for-beginners\/#primaryimage"},"image":{"@id":"https:\/\/opensource.microsoft.com\/blog\/2023\/02\/21\/introducing-bash-for-beginners\/#primaryimage"},"thumbnailUrl":"https:\/\/opensource.microsoft.com\/blog\/wp-content\/uploads\/2024\/06\/CLO20b_Garrett_Preeti_Jayesh_Aline_001_v2.webp","datePublished":"2023-02-21T19:00:00+00:00","dateModified":"2024-06-17T14:39:57+00:00","description":"On Azure, more than 50 percent of virtual machine cores run on Linux. There is no better time to learn Bash.","breadcrumb":{"@id":"https:\/\/opensource.microsoft.com\/blog\/2023\/02\/21\/introducing-bash-for-beginners\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/opensource.microsoft.com\/blog\/2023\/02\/21\/introducing-bash-for-beginners\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/opensource.microsoft.com\/blog\/2023\/02\/21\/introducing-bash-for-beginners\/#primaryimage","url":"https:\/\/opensource.microsoft.com\/blog\/wp-content\/uploads\/2024\/06\/CLO20b_Garrett_Preeti_Jayesh_Aline_001_v2.webp","contentUrl":"https:\/\/opensource.microsoft.com\/blog\/wp-content\/uploads\/2024\/06\/CLO20b_Garrett_Preeti_Jayesh_Aline_001_v2.webp","width":1170,"height":640},{"@type":"BreadcrumbList","@id":"https:\/\/opensource.microsoft.com\/blog\/2023\/02\/21\/introducing-bash-for-beginners\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/opensource.microsoft.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Introducing Bash for Beginners"}]},{"@type":"WebSite","@id":"https:\/\/opensource.microsoft.com\/blog\/#website","url":"https:\/\/opensource.microsoft.com\/blog\/","name":"Microsoft Open Source Blog","description":"Open dialogue about openness at Microsoft \u2013 open source, standards, interoperability","publisher":{"@id":"https:\/\/opensource.microsoft.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/opensource.microsoft.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/opensource.microsoft.com\/blog\/#organization","name":"Microsoft Open Source Blog","url":"https:\/\/opensource.microsoft.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/opensource.microsoft.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/opensource.microsoft.com\/blog\/wp-content\/uploads\/2019\/08\/Microsoft-Logo.png","contentUrl":"https:\/\/opensource.microsoft.com\/blog\/wp-content\/uploads\/2019\/08\/Microsoft-Logo.png","width":259,"height":194,"caption":"Microsoft Open Source Blog"},"image":{"@id":"https:\/\/opensource.microsoft.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/OpenAtMicrosoft"]}]}},"msxcm_animated_featured_image":null,"bloginabox_display_generated_audio":false,"distributor_meta":false,"distributor_terms":false,"distributor_media":false,"distributor_original_site_name":"Microsoft Open Source Blog","distributor_original_site_url":"https:\/\/opensource.microsoft.com\/blog","push-errors":false,"_links":{"self":[{"href":"https:\/\/opensource.microsoft.com\/blog\/wp-json\/wp\/v2\/posts\/94267","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/opensource.microsoft.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/opensource.microsoft.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/opensource.microsoft.com\/blog\/wp-json\/wp\/v2\/users\/6194"}],"replies":[{"embeddable":true,"href":"https:\/\/opensource.microsoft.com\/blog\/wp-json\/wp\/v2\/comments?post=94267"}],"version-history":[{"count":1,"href":"https:\/\/opensource.microsoft.com\/blog\/wp-json\/wp\/v2\/posts\/94267\/revisions"}],"predecessor-version":[{"id":95598,"href":"https:\/\/opensource.microsoft.com\/blog\/wp-json\/wp\/v2\/posts\/94267\/revisions\/95598"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/opensource.microsoft.com\/blog\/wp-json\/wp\/v2\/media\/95467"}],"wp:attachment":[{"href":"https:\/\/opensource.microsoft.com\/blog\/wp-json\/wp\/v2\/media?parent=94267"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/opensource.microsoft.com\/blog\/wp-json\/wp\/v2\/post_tag?post=94267"},{"taxonomy":"content-type","embeddable":true,"href":"https:\/\/opensource.microsoft.com\/blog\/wp-json\/wp\/v2\/content-type?post=94267"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/opensource.microsoft.com\/blog\/wp-json\/wp\/v2\/topic?post=94267"},{"taxonomy":"programming-languages","embeddable":true,"href":"https:\/\/opensource.microsoft.com\/blog\/wp-json\/wp\/v2\/programming-languages?post=94267"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/opensource.microsoft.com\/blog\/wp-json\/wp\/v2\/coauthors?post=94267"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}