Skip to content
Welcome To Charanjit Cheema Blog

Welcome To Charanjit Cheema Blog

An Open Source and Cloud Blog

Menu
  • Home
  • About Me!
  • Way to my Technical Blog
  • Contact me
  • Privacy Policy
Menu

What is Windows subsystem for Linux?

Posted on December 19, 2018 by Charanjit Cheema

Microsoft has added Windows Subsystem for Linux (WSL) from Microsoft Windows 10 version 1607 onward and Windows Server 2019 it has replaced the older Windows Services for Unix it is like WINE in Linux which provide compatible layer for running Windows based application on Linux likewise WSL provide a subsystem or layer on which different Linux distro and applications can be run. It even support to run Linux GUI programs using an X Server. Developers can compile Linux binaries on WSL.

Unlike virtual machines (VM) or containers WSL provides a layer for mapping Windows kernel system calls to Linux kernel system calls due to which you may run Linux binaries on Windows without modifying it, also WSL can creates mapping of Windows services, like the filesystem and networking, as devices that Linux can access.

WSL gives number of capabilities, which are:

  1. Choose your favourite GNU/Linux distributions from the Windows Store.
  2. Run common command-line free software such as grep, sed, awk, or other ELF-64 binaries.
  3. Run Bash shell scripts and GNU/Linux command-line applications including:
    •  Tools: vim, emacs, tmux
    •  Languages: Javascript/node.js, Ruby, Python, C/C++, C# & F#, Rust, Go, etc.
    •  Services: sshd, MySQL, Apache, lighttpd
  4. Install additional software using own GNU/Linux distribution package manager.
  5. Invoke Windows applications using a Unix-like command-line shell.
  6. Invoke GNU/Linux applications on Windows.
  7. Linux IDE (Integrated Development Environments) can be installed directly on Window and test Linux software based on Python, Perl, Ruby, PHP, and the GNU Compiler Collection (GCC) and compile Linux binaries.
  8. WSL provide access of windows filesystem or partition (like C drive) inside Linux which allow access of Windows files inside Linux.

Image: Ubuntu Linux filesystem can be access through Linux commands in Windows command prompt.

As contrary to VM or containers WSL virtulizes the Linux kernel on top of Windows kernel due to this WSL consumes less memory and it unload the driver when not in use which makes it efficient compare to VM or containers.

As of now below Linux distro are supported in Microsoft Windows 10 or Windows server 2019:

  • Ubuntu
  • OpenSUSE
  • SLES
  • Kali Linux
  • Debian GNU/Linux

Image: Windows or Microsoft Store contains option of Linux distro to install

Below are further recommended reading:

https://docs.microsoft.com/en-us/windows/wsl/install-win10
https://docs.microsoft.com/en-us/windows/wsl/install-on-server
https://blogs.msdn.microsoft.com/wsl/

Reference Sources:
https://docs.microsoft.com/en-us/windows/wsl/about
https://www.petri.com/bash-out-of-beta-in-windows-10

Loading

  • Author
  • Recent Posts
Charanjit Cheema
Follow him
Charanjit Cheema
Charanjit is currently working as a Cloud Architect at Mphasis, with 17 years of experience in IT infrastructure projects, implementation, and support. While his main role is as a DevOps engineer, he holds a Cloud Architect position and has strong skills in cloud technologies and automation. His expertise includes Terraform, Ansible, AWS, Azure DevOps, Azure Cloud, VMware, and Linux systems.

Charanjit is passionate about automating tasks and improving processes. He uses tools like Terraform and Azure DevOps to build and manage cloud infrastructure and streamline deployment. He also enjoys using Shell scripts and Ansible playbooks to make systems run more efficiently.

In his free time, Charanjit enjoys learning about new technologies and sharing his knowledge through his blog. When he’s not working, he likes listening to music, having a cup of coffee, and relaxing in nature.

You can connect with Charanjit on Twitter, Facebook, LinkedIn, or email him at charanjit.cheema@cjcheema.com.
Charanjit Cheema
Follow him
Latest posts by Charanjit Cheema (see all)
  • How to optimize the performance of Ansible Automation Platform or Ansible Tower - July 16, 2023
  • How to fix code and text file linting errors with the help of Visual Studio Code - June 27, 2023
  • How to migrate existing WordPress blog from AWS EC2 instance to Amazon Lightsail - May 29, 2023

Like this:

Like Loading...

Related

Leave a ReplyCancel reply

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

Tags

AWS Cloud Computing Dockers Networking Open Networking OpenSource RHEL-CentOS SDN Server Hardware SLES tcpdump Ubuntu WSL

Follow me @

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 2 other subscribers

Recent Posts

  • How to Deploy Docker Containers with NGINX on AWS EC2 Using Ansible and GitHub Actions
  • No More DynamoDB! Use Native S3 locking for Terraform State
  • How to Bring and Manage Manually Created AWS Resources Under Terraform Management
  • Iterating Cloud Resource Provisioning Using Terraform Count and For_Each Meta-Arguments
  • Terraform and Ansible Collaboration for AWS Cloud Deployment

Recent Comments

  1. Charanjit Singh on Terraform and Ansible Collaboration for AWS Cloud Deployment
  2. christinatodd2020aeaa798563 on Terraform and Ansible Collaboration for AWS Cloud Deployment
  3. Charanjit Singh on How to Set password policy in CentOS or RHEL system
  4. SAURABH on How to recover or rebuild initramfs in CentOS 7 Linux
  5. Sangita on How to Set password policy in CentOS or RHEL system

Archives

  • April 2025
  • February 2025
  • January 2025
  • August 2024
  • July 2024
  • June 2024
  • January 2024
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • September 2022
  • August 2022
  • July 2020
  • May 2020
  • February 2020
  • November 2019
  • June 2019
  • May 2019
  • March 2019
  • February 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • June 2018
  • May 2018
  • April 2018

Categories

  • Automation
  • Cloud Computing
  • Coding
  • CyberSecurity
  • Networking
  • OpenSource
  • RHEL-CentOS
  • Server Hardware
  • SLES
  • Technical Blog
  • Ubuntu
  • WSL

Blog Stats

  • 18,353 hits
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Home
  • About Me!
  • Way to my Technical Blog
  • Contact me
  • Privacy Policy
© 2025 Welcome To Charanjit Cheema Blog | Powered by Superbs Personal Blog theme
 

Loading Comments...
 

    %d