Looking for:
Install WSL | Microsoft Docs- The Unix Shell: Setup
Bash provides a lot of different types of commands and tools to manage a Linux system. In this tutorial, we will learn how to install Bash on a Windows operating system like Windows Bash is the most popular shell or command line used in Linux distributions. Containers are a new era of Virtualization where provides less resource usage and less complexity. Containers provide isolated environments for applications, processes, files, etc like a virtual system.
Docker is the most known and popular containerization system. Windows also started full and complete container usage on Windows for Linux. This means the Linux operating system calls and standards are provided as a container on a Windows operating system.
We need Administrative features enabled by running PowerShell from Start Menu where we will right-click and then select Run as administrator. We will be asked is we want to restart the computer after the installation is complete. We will answer Y. Linux distributions can be downloaded from the Microsoft Store like below. We can access Microsoft Store from start menu with Microsoft Store keyword.
We will write linux to the search box and search. Alternatively, if we are looking for a specific Linux. The search results for the Linux container will be listed below.
The following information also provided with the search results. In this example, we will select the Ubuntu image with the latest version. Ubuntu During the download, the download status will be shown in the header like below. We can see that the Ubuntu image is about MB and downloaded very fast. When the download is complete we can launch Ubuntu container from the Microsoft Store from the Launch button like below. We will see the following bash shell where it is initialized for the first run.
As it says it may take a few minutes to see the shell. Before starting to use bash we will be asked some basic questions like the username and password which will set.
In this example, we set the username ismail. The password is not shown for security reasons. We can also start the Bash from the command line. We can run any Linux bash command on Windows like below. In this part, we will run commands like ping , uname , lsb-release. What Is Bash? Enable Windows Subsystem For Linux. Enable Microsoft-Windows-Subsystem-Linux. Restart The Computer. Search Linux Images.
WSL Ubuntu Image. Launch Ubuntu Container On Windows. Ubuntu Shell. Linux Bash Shell On Windows Start Bash From PowerShell. Run Bash Commands On Windows.
No comments:
Post a Comment