Ubuntu Bash tutorial on Windows 10

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 Picture 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 Picture 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 Picture 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 Picture 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 Picture 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 Picture 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 Picture 7

Refer to some of the following articles:

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

Good luck!

5 ★ | 1 Vote

May be interested

  • Installing Ubuntu in VirtualBox does not need DVD or USBInstalling Ubuntu in VirtualBox does not need DVD or USB
    in the previous tutorial, we presented some basic steps to install ubuntu in windows operating system with the option of dual boot using wubi. and this time, we will focus on using ubuntu as a virtual machine in virtualbox. the advantage of this process is that virtualbox does not require any boot components, besides that virtualbox and ubuntu are completely free.
  • Running Linux on Windows 10 does not require a virtual machine, here are 18 things you should knowRunning Linux on Windows 10 does not require a virtual machine, here are 18 things you should know
    the windows subsystem for linux (wsl) feature - also called bash, helps programmers run ubuntu directly on windows without the need for a virtual machine. the following article will help readers better understand linux tools - wsl.
  • What's New in Ubuntu 21.10?What's New in Ubuntu 21.10?
    version 21.10 is the latest release of ubuntu and although canonical is turning more attention to the cloud and developers, ubuntu 'impish indri' still comes with some notable changes for those users use the ubuntu desktop every day.
  • What is Ubuntu? Why should you use Ubuntu to replace Windows?What is Ubuntu? Why should you use Ubuntu to replace Windows?
    what is ubuntu? why should you use ubuntu to replace windows? currently, ubuntu is much more popular than before and is strongly developed. in this article, the software tips will help you learn about ubuntu and why ubuntu should be used instead of windows.
  • 7 things Ubuntu does better than Windows7 things Ubuntu does better than Windows
    you may have heard of the linux operating system called ubuntu. if you haven't tried it yet, you may be missing out on some great features.
  • How to install Hyper Terminal in Ubuntu 20.04How to install Hyper Terminal in Ubuntu 20.04
    hyper is an open source application supported on all three major platforms: windows, linux, and macos. in this tutorial, tipsmake.com will explain how to install hyper terminal in ubuntu system.
  • How to simplify 7z file compression with Bash AliasHow to simplify 7z file compression with Bash Alias
    7-zip wins the no. 1 position in the hearts of most users, thanks to a unique combination of performance and great compression level at zero cost.
  • 10 reasons to choose Ubuntu 12.10 instead of Windows 810 reasons to choose Ubuntu 12.10 instead of Windows 8
    according to the review, ubuntu 12.10 is more than windows 8 in many ways such as unity user interface, customization capabilities, hardware requirements, security ... after the open source os ubuntu 12.10 'quantal quetzal' is officially announced. dad, ubuntu's home page has a challenging slogan: 'avoid the pain of windows 8'.
  • How to install Ubuntu in parallel with Windows using USBHow to install Ubuntu in parallel with Windows using USB
    installing ubuntu in parallel with windows 7 and 8 with usb will help users not to waste time writing files to disk, running on many different computers.
  • How to Migrate from Windows to UbuntuHow to Migrate from Windows to Ubuntu
    when migrating from windows to ubuntu, there are a few things you might need to reflect over, like how to cope the new system, the new interface, and how to adapt to ubuntu in general, and of course, how to transfer your personal files...