{"id":28730,"date":"2016-12-15T23:01:38","date_gmt":"2016-12-15T15:01:38","guid":{"rendered":"https:\/\/www.hongkiat.com\/blog\/?p=28730"},"modified":"2023-04-06T19:19:48","modified_gmt":"2023-04-06T11:19:48","slug":"bash-ubuntu-windows-10","status":"publish","type":"post","link":"https:\/\/www.hongkiat.com\/blog\/bash-ubuntu-windows-10\/","title":{"rendered":"Ubuntu on Windows 10 &#8211; Get Linux Goodies on Your PC"},"content":{"rendered":"<p>Microsoft recently launched <a target=\"_blank\" href=\"https:\/\/msdn.microsoft.com\/en-us\/commandline\/wsl\/about\" rel=\"noopener noreferrer\">Bash on Ubuntu on Windows 10<\/a> \u2014 a <strong>shell environment with most of the <\/strong><strong><a target=\"_blank\" href=\"https:\/\/www.hongkiat.com\/blog\/most-asked-questions-linux\/\" rel=\"noopener\">Linux<\/a><\/strong><strong> CLI<\/strong> tools and utilities. Using the same, you can run <code>grep<\/code>, <code>awk<\/code> and many more tools directly in Windows without the need to switch to <a target=\"_blank\" href=\"https:\/\/www.hongkiat.com\/blog\/lesser-known-operating-systems\/\" rel=\"noopener\">Linux distro<\/a>.<\/p>\n<p>Even if you never tried out Unix or Linux, here\u2019s your chance to <strong>learn and experiment with Bash<\/strong> and other *NIX tools in <a target=\"_blank\" href=\"https:\/\/www.hongkiat.com\/blog\/windows-10-features\/\" rel=\"noopener\">Windows 10<\/a>. In this introductory tutorial, we\u2019re going to share how to <strong>get started with Bash on Windows 10<\/strong> and use them  in various ways.<\/p>\n<div class=\"ref-block ref-block--post\" id=\"ref-post-1\">\n\t\t\t\t\t<a href=\"https:\/\/www.hongkiat.com\/blog\/most-asked-questions-linux\/\" class=\"ref-block__link\" title=\"Read More: 10 Most Asked Questions About Linux\" rel=\"bookmark\"><span class=\"screen-reader-text\">10 Most Asked Questions About Linux<\/span><\/a>\n<div class=\"ref-block__thumbnail img-thumb img-thumb--jumbo\" data-img='{ \"src\" : \"https:\/\/assets.hongkiat.com\/uploads\/thumbs\/250x160\/most-asked-questions-linux.jpg\" }'>\n\t\t\t\t\t\t\t<noscript>\n<style>.no-js #ref-block-post-21936 .ref-block__thumbnail { background-image: url(\"https:\/\/assets.hongkiat.com\/uploads\/thumbs\/250x160\/most-asked-questions-linux.jpg\"); }<\/style>\n<\/noscript>\n\t\t\t\t\t\t<\/div>\n<div class=\"ref-block__summary\">\n<h4 class=\"ref-title\">10 Most Asked Questions About Linux<\/h4>\n<p class=\"ref-description\">\n\t\t\t\t\t\tYou have probably heard of Linux as the free alternative to Windows and OS X. It's one of...\t\t\t\t\t\t<span>Read more<\/span><\/p>\n<\/div>\n<\/div>\n<h2>What\u2019s Bash on Ubuntu on Windows 10?<\/h2>\n<p>Bash (Bourne Again SHell) is <strong>a text-based shell and a scripting language<\/strong> for Unix and Linux platforms. Bash on Ubuntu on Windows 10 is an optional feature that\u2019s available for <strong>people using Windows 10\u2019s Anniversary Update<\/strong>.<\/p>\n<p>It runs on the top of Windows Subsystem for Linux (WSL) and lets you<strong> experience Linux <\/strong>right inside your Windows PC.<\/p>\n<p>This new technology enables you to <strong>run *NIX commands and compatible command-line tools<\/strong> natively in Windows. You no longer need to install a Unix or Linux distro side by side your Windows OS or setup a virtual machine for trying out *NIX OS.<\/p>\n<p>Compared to a virtual machine, <strong>Bash on <\/strong><strong>Ubuntu<\/strong><strong> requires fewer system resources<\/strong>, and lets you access both Windows and Linux tools at the same time.<\/p>\n<p>Bash on Windows 10 is <strong>especially useful for<\/strong><strong> <\/strong><strong>developers and system administrators<\/strong> working on open-source projects. This feature comes as an <strong>unpredicted gift from Microsoft with support of Canonical. <\/strong><\/p>\n<p>This is to bridge gap between the proprietary Windows with the free and open source Linux technologies starting with Bash shell.<\/p>\n<h3>Advantages<\/h3>\n<ul>\n<li>Run *NIX command-line utilities like <code>grep<\/code>, <code>awk<\/code> and <code>sed<\/code><\/li>\n<li>Run shell scripts (.sh) with supported command-line utilities<\/li>\n<li>Browse and modify the local Windows file system using Bash<\/li>\n<li>Try various *NIX-first tools and utilities like <a target=\"_blank\" href=\"https:\/\/www.hongkiat.com\/blog\/essential-python-packages\/\" rel=\"noopener\">Python<\/a>, Ruby, Git, etc.<\/li>\n<li>Supports server tools like <a target=\"_blank\" href=\"https:\/\/www.hongkiat.com\/blog\/create-webserver-on-pc-the-fast-way\/\" rel=\"noopener\">Apache HTTP Server<\/a>, MySQL and more<\/li>\n<\/ul>\n<h3>Disadvantages<\/h3>\n<ul>\n<li>Doesn\u2019t run GUI tools natively (though there\u2019s a trick given below)<\/li>\n<li>Doesn\u2019t allow Bash scripts to execute Windows programs and vice-versa<\/li>\n<\/ul>\n<h2>How to Install Bash on Ubuntu on Windows 10?<\/h2>\n<p>Bash on Ubuntu on Windows 10 is installable manually if your system runs on Windows 10 having <strong>Anniversary Update<\/strong><strong> (build 14393 or later) and supports 64-bit<\/strong> processor. Follow these steps to confirm that your system meets these requirements:<\/p>\n<ol>\n<li>Open <strong>Settings<\/strong> <strong>&gt;<\/strong> select <strong>System<\/strong> <strong>&gt;<\/strong> select <strong>About<\/strong><\/li>\n<li>Look for the following information: <strong>OS Build<\/strong> and <strong>System type<\/strong><\/li>\n<\/ol>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/bash-ubuntu-windows-10\/about-windows-10.jpg\" width=\"803\" height=\"633\" alt=\"About - Windows 10\"><\/figure>\n<p>After verifying the requirements, you can install Bash using the following steps:<\/p>\n<ol>\n<li>Open <strong>Settings<\/strong> <strong>&gt; <\/strong>select <strong>Update & security<\/strong> <strong>&gt;<\/strong> select <strong>For developers<\/strong><\/li>\n<li>Under <strong>Use developer feature<\/strong>s <strong>&gt;<\/strong> select <strong>Developer mode<\/strong> option, and Windows 10 will search and install the developer mode package<\/li>\n<\/ol>\n<p><strong>Note:<\/strong> Bash will install despite the error message shown as in below pic.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/bash-ubuntu-windows-10\/developer-mode-windows-10.jpg\" width=\"803\" height=\"633\" alt=\"Use developer features\"><\/figure>\n<p>Now <strong>enable the Windows Subsystem for Linux<\/strong> (an optional feature) using these steps:<\/p>\n<ol>\n<li>In the <strong>Start<\/strong> search box, type \"<strong>turn<\/strong>\" and click on <strong>Turn windows features on or off<\/strong><\/li>\n<li>Select <strong>Windows Subsystem for Linux (Beta)<\/strong> and click <strong>OK<\/strong>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/bash-ubuntu-windows-10\/windows-10-features-bash-on-ubuntu.jpg\" width=\"415\" height=\"368\" alt=\"Windows Features\"><\/figure>\n<\/li>\n<li>After installing the Windows Subsystem for Linux, restart your computer if it is asked <\/li>\n<li>In the <strong>Start<\/strong> search box, type \"<strong>cmd<\/strong>\" and open <strong>Command Prompt<\/strong>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/bash-ubuntu-windows-10\/cmd-start-menu.jpg\" width=\"990\" height=\"627\" alt=\"Command Prompt\"><\/figure>\n<\/li>\n<li>Type \u201c<strong>bash<\/strong>\u201d in the Command Prompt window and hit <span class=\"key\">Enter<\/span>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/bash-ubuntu-windows-10\/accept-license-terms.jpg\" width=\"979\" height=\"512\" alt=\"Accept license terms\"><\/figure>\n<\/li>\n<li>Type \"<strong>y<\/strong>\" to accept the license terms (you can also check them at the given link)<\/li>\n<li>Windows Subsystem for Linux will now download and install <strong>Bash on Ubuntu<\/strong>, and will  place a shortcut for the same in the <strong>Start menu<\/strong><\/li>\n<li>After Bash is installed, you need to create a <strong>UNIX username and password<\/strong><\/li>\n<\/ol>\n<p><strong>Note:<\/strong> It need not be same as your Windows account\u2019s name and password.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/bash-ubuntu-windows-10\/unix-username-password.jpg\" width=\"979\" height=\"512\" alt=\"Create username and password for Bash\"><\/figure>\n<p>Congrats \u2014 <strong>you\u2019re done installing Bash on Ubuntu<\/strong> on Windows 10 now. You can <strong>launch it using the Start menu<\/strong> and enjoy running Unix and Linux utilities now.<\/p>\n<h2>How to Use Bash on Ubuntu on Windows 10?<\/h2>\n<p>After the installation, you can <strong>enjoy using Bash with root<\/strong> (\"administrator\" in Windows term) or <strong>full access permissions<\/strong> in Windows 10. The <strong>local file system (C: drive)<\/strong> is located in the <code>\/mnt\/c<\/code> directory in this shell environment and same as for your drives.<\/p>\n<p><strong>Note:<\/strong> Same as *NIX systems, Bash on Windows 10\u2019s environment is also case-sensitive, i.e., <strong>the names \u2018ash\u2019, \u2018Ash\u2019, \u2018AsH\u2019 and \u2018ASH\u2019 are all different<\/strong>.<\/p>\n<h3>How to Install More *NIX Tools and Utilities?<\/h3>\n<p>You can <strong>install additional software or update the present tools<\/strong> using the known <code>apt-get<\/code> command with the prefix <code>sudo<\/code> to run them as root or administrator in Windows.<\/p>\n<p>Below is <strong>a list of apt-get commands<\/strong> you can use to install *NIX software:<\/p>\n<ul>\n<li><code>sudo apt-get update<\/code> \u2013 <strong>Update package list information<\/strong> (list of software available to download along with their version numbers)<\/li>\n<li><code>sudo apt-get install &lt;package-name&gt;<\/code> \u2013 <strong>Install a new application package<\/strong> (replace \"&lt;package-name&gt;\" with the package name to install)<\/li>\n<li><code>sudo apt-get remove &lt;package-name&gt;<\/code> \u2013 <strong>Uninstall a present application package<\/strong> (replace \"&lt;package-name&gt;\" with the package name to remove)<\/li>\n<li><code>sudo apt-cache search &lt;query-word&gt;<\/code> \u2013 <strong>Search for available packages<\/strong> (replace \"&lt;query-word&gt;\" with the package name to search)<\/li>\n<li><code>sudo apt-get upgrade<\/code> \u2013 <strong>Download and update the installed software packages<\/strong><\/li>\n<\/ul>\n<p>After downloading and installing an application, you can <strong>type its name in Bash shell<\/strong> (without any extension) and hit <span class=\"key\">Enter<\/span> key to run the same.<\/p>\n<p>Do note that Linux-based tools and utilities are <strong>restricted to run in the Bash shell only<\/strong>.<\/p>\n<h3>How to Run Bash Scripts?<\/h3>\n<p>In the Bash shell, you can <strong>use <code>nano<\/code> or <code>vi<\/code><\/strong><strong> editors to create shell scripts<\/strong>. After creating the script with required set of commands, save and close the editor, and then follow these <strong>steps to run your command-line script<\/strong>:<\/p>\n<ol>\n<li>Make the script executable by using <code>chmod<\/code> command, for example, <code>chmod +x .\/myscript.sh<\/code> for a script named \"<strong>myscript.sh<\/strong>\" present in the current directory<\/li>\n<li>Run the script in the terminal by specifying its full path, for example, <code>.\/myscript.sh<\/code> for a script named \"<strong>myscript.sh<\/strong>\" present in the current directory<\/li>\n<\/ol>\n<h3>How to Run Linux Commands Outside Bash?<\/h3>\n<p>You don\u2019t need to launch the Bash shell first to execute a *NIX command, rather run a script or launch a program. You can <strong>run the command directly using <code>bash -c<\/code><\/strong>, which can be used for various purposes like:<\/p>\n<ul>\n<li>To create desktop shortcuts<\/li>\n<li>To launch Linux programs directly from <strong>Run tool<\/strong><\/li>\n<li>To call Linux commands in batch or <strong>PowerShell scripts<\/strong><\/li>\n<\/ul>\n<p>For example, you can do the following steps to launch the vi editor:<\/p>\n<ol>\n<li>Press <span class=\"key\">Win<\/span> + <span class=\"key\">R<\/span> to launch the <strong>Run<\/strong> tool<\/li>\n<li>In the Run window, type <code>bash -c \"vi\"<\/code> and click <strong>OK<\/strong> to launch the vi editor \n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/bash-ubuntu-windows-10\/launch-run-tool.jpg\" width=\"398\" height=\"205\" alt=\"Run tool\"><\/figure>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/bash-ubuntu-windows-10\/run-command-outside-bash.jpg\" width=\"596\" height=\"354\" alt=\"Vi IMproved\"><\/figure>\n<\/li>\n<\/ol>\n<div class=\"ref-block ref-block--post\" id=\"ref-post-2\">\n\t\t\t\t\t<a href=\"https:\/\/www.hongkiat.com\/blog\/windows-powershell-commands\/\" class=\"ref-block__link\" title=\"Read More: 20 Windows PowerShell Commands You Must Know\" rel=\"bookmark\"><span class=\"screen-reader-text\">20 Windows PowerShell Commands You Must Know<\/span><\/a>\n<div class=\"ref-block__thumbnail img-thumb img-thumb--jumbo\" data-img='{ \"src\" : \"https:\/\/assets.hongkiat.com\/uploads\/thumbs\/250x160\/windows-powershell-commands.jpg\" }'>\n\t\t\t\t\t\t\t<noscript>\n<style>.no-js #ref-block-post-44859 .ref-block__thumbnail { background-image: url(\"https:\/\/assets.hongkiat.com\/uploads\/thumbs\/250x160\/windows-powershell-commands.jpg\"); }<\/style>\n<\/noscript>\n\t\t\t\t\t\t<\/div>\n<div class=\"ref-block__summary\">\n<h4 class=\"ref-title\">20 Windows PowerShell Commands You Must Know<\/h4>\n<p class=\"ref-description\">\n\t\t\t\t\t\tA list of useful and simple Windows PowerShell commands to help you achieve tasks like getting help or...\t\t\t\t\t\t<span>Read more<\/span><\/p>\n<\/div>\n<\/div>\n<h3>How to Run GUI Programs using Bash?<\/h3>\n<p>Bash on Ubuntu on Windows 10 <strong>doesn\u2019t support GUI software natively<\/strong>, but can run some <strong>graphics-based tools<\/strong> using the old VNC trick. The trick <strong>requires an \u2018X Server\u2019 running<\/strong> on your Windows and Bash on Ubuntu configured to route the graphics to that server.<\/p>\n<p>Here\u2019s the step-by-step procedure to achieve the result:<\/p>\n<ol>\n<li>Install an X Server application in Windows like <a href=\"https:\/\/sourceforge.net\/projects\/xming\/\" rel=\"nofollow\">Xming<\/a>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/bash-ubuntu-windows-10\/install-xming-x-server.jpg\" width=\"498\" height=\"386\" alt=\"Install Xming\"><\/figure>\n<\/li>\n<li><strong>Install the GUI program in Bash<\/strong> using the <code>apt-get<\/code> command, for example, run <code>sudo apt-get install vim-gtk<\/code> to install the GTK-based Vim editor<\/li>\n<li>After it\u2019s installed, run <code>export DISPLAY=:0<\/code> in Bash.\n    <strong>Note:<\/strong> You must run this command every time you reopen Bash.\n  <\/li>\n<li>Now <strong>launch the GUI *NIX tool<\/strong> by running its executable\u2019s name in Bash, for example, execute <code>gvim<\/code> to launch the <strong>GTK-based Vim editor<\/strong>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/bash-ubuntu-windows-10\/run-gvim-bash-on-ubuntu.jpg\" width=\"659\" height=\"482\" alt=\"Run gVim\"><\/figure>\n<\/li>\n<\/ol>\n<p><strong>Note:<\/strong> <strong>All *NIX-based GUI programs are not yet supported<\/strong> by this trick, so if your favorite program doesn\u2019t work, don\u2019t worry and wait for official support in future updates. Also, <strong>you may receive system crashes while running few GUI tools<\/strong> owing to the same reason.<\/p>\n<h2>Common & Useful Bash Commands<\/h2>\n<p>Bash on Ubuntu Windows 10 <strong>supports various common commands and avails numerous command-line utilities<\/strong> to help achieve daily tasks and write useful scripts. Here\u2019s a list of <a target=\"_blank\" href=\"https:\/\/www.hongkiat.com\/blog\/basic-linux-commands\/\" rel=\"noopener\">common Unix and Linux commands<\/a> to help you get started with Bash.<\/p>\n<h2>Wrap up \u2014 It\u2019s a Good Start<\/h2>\n<p>Bash on Ubuntu on Windows 10 proves to be a new dawn with <strong>Microsoft finally availing support for free and open source software on its Windows platform<\/strong>. This allows developers to <strong>leverage the open-source developer ecosystem<\/strong> without side-loading Linux or using a virtual machine.<\/p>\n<p class=\"recommended_top\">\n\t\t\t\t\t<strong>Read Also:<\/strong>\u00a0\n\t\t\t\t\t<a target=\"_blank\" href=\"https:\/\/www.hongkiat.com\/blog\/basic-shell-commands-for-bloggers\/\">Essential Shell Commands Every Blogger Should Know<\/a>\n\t\t\t\t<\/p>\n<p>However, the <strong>*NIX apps can\u2019t interact with or launch Windows programs directly<\/strong>, but it\u2019s just a start, so let\u2019s keep our heads up for the great possibilities ahead.<\/p>\n<p>How do you feel about Bash on Ubuntu, and which features you\u2019d like to see for Bash on Ubuntu in future updates of Windows 10? Kindly share your thoughts using comments.<\/p>","protected":false},"excerpt":{"rendered":"<p>Microsoft recently launched Bash on Ubuntu on Windows 10 \u2014 a shell environment with most of the Linux CLI tools and utilities. Using the same, you can run grep, awk and many more tools directly in Windows without the need to switch to Linux distro. Even if you never tried out Unix or Linux, here\u2019s&hellip;<\/p>\n","protected":false},"author":120,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3397],"tags":[888,171,1193,3557],"topic":[4521],"class_list":["entry-content","is-maxi"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.8 (Yoast SEO v27.6) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Ubuntu on Windows 10 - Get Linux Goodies on Your PC - Hongkiat<\/title>\n<meta name=\"description\" content=\"Microsoft recently launched Bash on Ubuntu on Windows 10 &mdash; a shell environment with most of the Linux CLI tools and utilities. Using the same, you\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hongkiat.com\/blog\/bash-ubuntu-windows-10\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Ubuntu on Windows 10 - Get Linux Goodies on Your PC\" \/>\n<meta property=\"og:description\" content=\"Microsoft recently launched Bash on Ubuntu on Windows 10 &mdash; a shell environment with most of the Linux CLI tools and utilities. Using the same, you\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hongkiat.com\/blog\/bash-ubuntu-windows-10\/\" \/>\n<meta property=\"og:site_name\" content=\"Hongkiat\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/hongkiatcom\" \/>\n<meta property=\"article:published_time\" content=\"2016-12-15T15:01:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-04-06T11:19:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/assets.hongkiat.com\/uploads\/bash-ubuntu-windows-10\/about-windows-10.jpg\" \/>\n<meta name=\"author\" content=\"Ashutosh KS\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:site\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ashutosh KS\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/bash-ubuntu-windows-10\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/bash-ubuntu-windows-10\\\/\"},\"author\":{\"name\":\"Ashutosh KS\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/0c0611010da9a578caa32a34232cf7bd\"},\"headline\":\"Ubuntu on Windows 10 &#8211; Get Linux Goodies on Your PC\",\"datePublished\":\"2016-12-15T15:01:38+00:00\",\"dateModified\":\"2023-04-06T11:19:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/bash-ubuntu-windows-10\\\/\"},\"wordCount\":1419,\"commentCount\":3,\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/bash-ubuntu-windows-10\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/bash-ubuntu-windows-10\\\/about-windows-10.jpg\",\"keywords\":[\"Linux\",\"Microsoft Windows\",\"Ubuntu\",\"Windows 10\"],\"articleSection\":[\"Desktop\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/bash-ubuntu-windows-10\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/bash-ubuntu-windows-10\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/bash-ubuntu-windows-10\\\/\",\"name\":\"Ubuntu on Windows 10 - Get Linux Goodies on Your PC - Hongkiat\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/bash-ubuntu-windows-10\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/bash-ubuntu-windows-10\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/bash-ubuntu-windows-10\\\/about-windows-10.jpg\",\"datePublished\":\"2016-12-15T15:01:38+00:00\",\"dateModified\":\"2023-04-06T11:19:48+00:00\",\"description\":\"Microsoft recently launched Bash on Ubuntu on Windows 10 &mdash; a shell environment with most of the Linux CLI tools and utilities. Using the same, you\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/bash-ubuntu-windows-10\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/bash-ubuntu-windows-10\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/bash-ubuntu-windows-10\\\/#primaryimage\",\"url\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/bash-ubuntu-windows-10\\\/about-windows-10.jpg\",\"contentUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/bash-ubuntu-windows-10\\\/about-windows-10.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/bash-ubuntu-windows-10\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Ubuntu on Windows 10 &#8211; Get Linux Goodies on Your PC\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"name\":\"Hongkiat\",\"description\":\"Tech and Design Tips\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\",\"name\":\"Hongkiat.com\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"contentUrl\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"width\":1200,\"height\":799,\"caption\":\"Hongkiat.com\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/hongkiatcom\",\"https:\\\/\\\/x.com\\\/hongkiat\",\"https:\\\/\\\/www.pinterest.com\\\/hongkiat\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/0c0611010da9a578caa32a34232cf7bd\",\"name\":\"Ashutosh KS\",\"description\":\"Ashutosh is a writer, entrepreneur, and a tech evangelist with expertise in the area of Computer Programming.\",\"sameAs\":[\"https:\\\/\\\/www.hongkiat.com\\\/\"],\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/author\\\/ashutosh_ks\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Ubuntu on Windows 10 - Get Linux Goodies on Your PC - Hongkiat","description":"Microsoft recently launched Bash on Ubuntu on Windows 10 &mdash; a shell environment with most of the Linux CLI tools and utilities. Using the same, you","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:\/\/www.hongkiat.com\/blog\/bash-ubuntu-windows-10\/","og_locale":"en_US","og_type":"article","og_title":"Ubuntu on Windows 10 - Get Linux Goodies on Your PC","og_description":"Microsoft recently launched Bash on Ubuntu on Windows 10 &mdash; a shell environment with most of the Linux CLI tools and utilities. Using the same, you","og_url":"https:\/\/www.hongkiat.com\/blog\/bash-ubuntu-windows-10\/","og_site_name":"Hongkiat","article_publisher":"https:\/\/www.facebook.com\/hongkiatcom","article_published_time":"2016-12-15T15:01:38+00:00","article_modified_time":"2023-04-06T11:19:48+00:00","og_image":[{"url":"https:\/\/assets.hongkiat.com\/uploads\/bash-ubuntu-windows-10\/about-windows-10.jpg","type":"","width":"","height":""}],"author":"Ashutosh KS","twitter_card":"summary_large_image","twitter_creator":"@hongkiat","twitter_site":"@hongkiat","twitter_misc":{"Written by":"Ashutosh KS","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hongkiat.com\/blog\/bash-ubuntu-windows-10\/#article","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/bash-ubuntu-windows-10\/"},"author":{"name":"Ashutosh KS","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/0c0611010da9a578caa32a34232cf7bd"},"headline":"Ubuntu on Windows 10 &#8211; Get Linux Goodies on Your PC","datePublished":"2016-12-15T15:01:38+00:00","dateModified":"2023-04-06T11:19:48+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/bash-ubuntu-windows-10\/"},"wordCount":1419,"commentCount":3,"publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/bash-ubuntu-windows-10\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/bash-ubuntu-windows-10\/about-windows-10.jpg","keywords":["Linux","Microsoft Windows","Ubuntu","Windows 10"],"articleSection":["Desktop"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hongkiat.com\/blog\/bash-ubuntu-windows-10\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hongkiat.com\/blog\/bash-ubuntu-windows-10\/","url":"https:\/\/www.hongkiat.com\/blog\/bash-ubuntu-windows-10\/","name":"Ubuntu on Windows 10 - Get Linux Goodies on Your PC - Hongkiat","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/bash-ubuntu-windows-10\/#primaryimage"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/bash-ubuntu-windows-10\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/bash-ubuntu-windows-10\/about-windows-10.jpg","datePublished":"2016-12-15T15:01:38+00:00","dateModified":"2023-04-06T11:19:48+00:00","description":"Microsoft recently launched Bash on Ubuntu on Windows 10 &mdash; a shell environment with most of the Linux CLI tools and utilities. Using the same, you","breadcrumb":{"@id":"https:\/\/www.hongkiat.com\/blog\/bash-ubuntu-windows-10\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hongkiat.com\/blog\/bash-ubuntu-windows-10\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/bash-ubuntu-windows-10\/#primaryimage","url":"https:\/\/assets.hongkiat.com\/uploads\/bash-ubuntu-windows-10\/about-windows-10.jpg","contentUrl":"https:\/\/assets.hongkiat.com\/uploads\/bash-ubuntu-windows-10\/about-windows-10.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hongkiat.com\/blog\/bash-ubuntu-windows-10\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hongkiat.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Ubuntu on Windows 10 &#8211; Get Linux Goodies on Your PC"}]},{"@type":"WebSite","@id":"https:\/\/www.hongkiat.com\/blog\/#website","url":"https:\/\/www.hongkiat.com\/blog\/","name":"Hongkiat","description":"Tech and Design Tips","publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hongkiat.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.hongkiat.com\/blog\/#organization","name":"Hongkiat.com","url":"https:\/\/www.hongkiat.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","contentUrl":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","width":1200,"height":799,"caption":"Hongkiat.com"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/hongkiatcom","https:\/\/x.com\/hongkiat","https:\/\/www.pinterest.com\/hongkiat\/"]},{"@type":"Person","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/0c0611010da9a578caa32a34232cf7bd","name":"Ashutosh KS","description":"Ashutosh is a writer, entrepreneur, and a tech evangelist with expertise in the area of Computer Programming.","sameAs":["https:\/\/www.hongkiat.com\/"],"url":"https:\/\/www.hongkiat.com\/blog\/author\/ashutosh_ks\/"}]}},"jetpack_featured_media_url":"https:\/\/","jetpack_shortlink":"https:\/\/wp.me\/p4uxU-7to","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/28730","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/users\/120"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/comments?post=28730"}],"version-history":[{"count":3,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/28730\/revisions"}],"predecessor-version":[{"id":66002,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/28730\/revisions\/66002"}],"wp:attachment":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/media?parent=28730"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/categories?post=28730"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/tags?post=28730"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/topic?post=28730"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}