Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

Ubuntu Bash Tutorial on Windows 10

Understand Ubuntu Bash Tutorial on Windows 10 with clear explanations, practical examples, and useful tips. This updated guide covers the essential concepts...

Table of Contents

Ubuntu Bash Tutorial on Windows 10 is easier to understand when the core ideas are paired with practical examples. The sections below explain the topic clearly, highlight useful steps, and point out details that can prevent common errors.

The Windows 10 Insider Preview Build 14316 version is packed with new features. One of those features is "Windows Subsystem for Linux".

The Windows 10 Anniversary Update update was released this summer, adding the ability to use Bash to run Linux applications according to the command. Microsoft has provided a trial version of some of the features of Anniversary Update in Build 14316 including Bash in Windows 10.

Note : Build 14316 is only for Windows Insider users.

1. What is Bash on Linux?

For unknown users, Bash or Bourne Again Shell is a standard GNU Linux Shell program.

2. Run Ubuntu's Bash on Windows 10

First activate Developer Mode by:

Go to Settings => Update & Security => For Developers menu. Then select Developer Mode , then search Windows Features select Turn Windows features on or off .

Ubuntu Bash Tutorial on Windows 10 example image 1

On the Turn Windows features window on or off select Windows Subsystem for Linux (Beta) and then select OK.

Ubuntu Bash Tutorial on Windows 10 example image 2

Now Windows will search for the necessary files and start applying changes. After the process has finished, click Restart Now to restart your computer.

Ubuntu Bash Tutorial on Windows 10 example image 3

After booting, right-click on the Start button and select Command Prompt (Admin) or Powershell .

Next enter Bash in the Command Prompt window and press Enter. This time the screen appears This will install Ubuntu on Windows, distributed by Canonical and. . Enter Y to continue the next steps.

Then press Y to start the download process from the Windows Store.

Ubuntu Bash Tutorial on Windows 10 example image 4

After the download process finishes, it will begin the process of extracting the file system.

After the process is finished you will receive a successful installation message: Installation Successful! The environment will start momentarily.

Ubuntu Bash Tutorial on Windows 10 example image 5

From now on you can run the Bash Script, the command line in Linux like sed, awk, grep,. directly on Windows. Also you can access Windows system files from Bash.

Ubuntu Bash Tutorial on Windows 10 example image 6

In addition, after installing, Bash is also listed in the app, you can open All app then click Bash on Ubuntu on Windows to open Bash.

Ubuntu Bash Tutorial on Windows 10 example image 7

Refer to some of the following articles:

  • 6 ways to view IP addresses on computers, smartphones or Tablet
  • How to access Linux partitions on Windows?
  • Certain deadly commands never run on Linux

Good luck!

FAQ

What should you know about 1. What is Bash on Linux??

For unknown users, Bash or Bourne Again Shell is a standard GNU Linux Shell program.

What is Ubuntu Bash Tutorial on Windows 10?

The Windows 10 Insider Preview Build 14316 version is packed with new features.

Why is Ubuntu Bash Tutorial on Windows 10 important?

A clear understanding of Ubuntu Bash Tutorial on Windows 10 helps you make informed decisions, avoid common mistakes, and use the relevant tools or techniques more effectively.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.