Once setup is complete, you can use the respective Linux distribution with the bash shell.
Windows 10 – Ubuntu-Bash – Set UNIX username This should be different to the login data you use for your Windows 10 user account. When you start a linux distribution from the Windows Subsystem for Linux (WSL) for the first time, it still needs to be set up by entering an administrator name and password of your choice. Windows 10 – Start – Pin Ubuntu Debian to Start Installing Ubuntu or another linux distribution will add it to your apps collection insider the start menu. Microsoft Store – Downloads and Updates – Ubuntu Debian download
You can download and install one or more of these distributions just like other normal apps. In the Microsoft Store, search for “Linux” to bring up a list of all available distributions, such as Ubuntu, SUSE Linux or Debian GNU. Windows 10 – Turn Windows Features on or off – Restart nowĪfter reboot, open the “Microsoft Store”. In the following window, click on “Restart now” to finish setting up Windows Subsystem for Linux (WSL). There, activate “Windows Subsystem for Linux” and click “OK” Windows 10 – Turn Windows Features on or off – Windows Subsystem for Linux Windows 10 – Search – Turn Windows Features on or off Open “Turn Windows features on or off” using Windows 10 search.
How to Install the Windows Subsystem for Linux and the Bash Shell Command-Line Tool We show you how to install the Linux subsystem and the available distributions in Windows 10 and how to start working with the Bash.
Microsoft now offers various Linux distributions for free download on the Microsoft Store, with which the respective Bash can also be used on Windows 10. Executables provided by Ubuntu run on it in user mode. The WSL does not contain any Linux kernel code itself but instead a Linux-compatible kernel interface developed by Microsoft. Unlike Microsoft Windows Services for UNIX, the applications contained in this image can run natively on the Windows Subsystem for Linux. It is distributed as a universal sources archive, designed to support any GNU/Linux operating system and both 32-bit and 64-bit instruction set architectures.Microsoft and Canonical have partnered to download and install an Ubuntu image in Windows 10. Under the hood and availabilityĪ quick look under the hood of GNU Bash will show us that the software is written entirely in the C programming language. However, you can easily replace Bash with another shell, such as the powerful Z shell (zsh). It is there when you access a shell environment to rescue a broken system that is no longer bootable, when you are dropped to a console interface (TTY) or when you open an X11 terminal emulator. Bash is everywhereīash can be found, installed by default, on any GNU/Linux operating system. Additionally, it is fully compatible with the scripts written for sh, allowing users to run them without modification. Key features include support for job control, command-line editing support, indexed arrays of unlimited size, support for an unlimited size of the command history, shell aliases and functions, as well as integer arithmetic support in any base, from 2 to 64.Īnother interesting feature is the improved support for both interactive and programming use, which is much better than the one implemented in the sh program. It borrows useful functionality from the C shell (csh) and Korn shell (ksh) and complies with the IEEE POSIX P1003.2/ISO 9945.2 Shell and Tools standard. GNU Bash (Bourne Again SHell) is an open source software project that has been designed from the offset as a sh-compatible shell for GNU/Linux systems.