Windows 10

Bash Shell On Windows 10-How To Use Complete Tutorial

Bash Shell On Windows 10 is one of the new features of Windows 10 that was launched in the latest Anniversary update of Windows 10 it’s a move towards Linux.

We all have been waiting for Windows 10 Anniversary update and now it’s finally available on all leading devices you must have already installed those updates.There are many new features that were launched with this update one of the important parts of the update is the step towards Linux and that is Bash Shell.

There was news hovering around from some months that Microsoft has partnered with Canonical (A company behind Ubuntu Linux) to bring the Linux-based system into Microsoft Windows environment.

Bash Shell On Windows 10

It’s just the first step towards Linux,Microsoft is keen to bring more updates related to Linux based environment into Windows.With the help of Canonical now you can run bash shell on Windows 10 it’s just a toolset but not a complete Linux OS.

This bash shell command will run on one of the Microsoft’s project Astoria which was used to run Android-based applications on Windows.This feature will help you to run the Linux commands on your Windows 10 you can also run bash shell scripts.

All the command line utilities are almost similar like Linux user environment it’s still in beta stage so everything will not work.

Enable Bash Shell On Windows 10

You need to have Windows 10 64 bit edition to run bash shell it will not work on 32-bit version if you are using 64-bit version then follow these steps.

  • Select the Settings from the start menu.
  • Click on Update & Security select the Developer mode a confirmation window will open select yes to continue.
  • Now go to Program & Features from Control Panel and select Windows features on or off.
  • Tick the Windows subsystem for Linux and click OK.
  • Click on the restart and after restart type Bash on the start menu and click to run it.

Using Bash Shell On Windows

By default, you will have administrator access to the system so you can run Linux commands most of the Linux commands will work here and you can use them in line.

  • sudo apt-get update: It will display the updated information and will download the repositories from the package list.
  • sudo apt-get install packagename: It will install an application package.
  • sudo apt-get remove packagename: It will uninstall a package.
  • sudo apt-cache search word: It will search for application package with given word.
  • sudo apt-get upgrade: It will upgrade installed package to the latest version.
Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

The Latest

To Top