Windows Command Line

Windows Terminal, Console and Command Line, Windows Subsystem for Linux, WSL, Windows Package Manager

OpenSSH in Windows 10!

SSH is one of the most important tools in the *NIX world, through which users communicate with shells, applications, and services running on remote machines, devices, VM's and containers. Windows users most often remotely access Windows machines, devices, VM's and Containers via the amazingly powerful Remote Desktop Protocol (RDP) which, as ...

Chmod/Chown WSL Improvements

We've added new file system features to WSL in Insider Build 17063. You can now set the owner and group of files using chmod/chown and modify read/write/execute permissions in WSL. You can also create special files like fifos, unix sockets, and device files. We're introducing new mounting options with DrvFs for projecting permissions onto ...

Share Environment Vars between WSL and Windows

Hey WSL users—we have more features to share with you! Our latest Windows Insider build lets you share environment variables between WSL and Windows. Starting with Build 17063, let’s look at how you can leverage the new “WSLENV” to enhance environmental variable interop between Win32/WSL. Summary For the pros who’ve already heard ...

AF_UNIX comes to Windows

Introduction:  Beginning in Insider Build 17063, you’ll be able to use the unix socket (AF_UNIX) address family on Windows to communicate between Win32 processes. Unix sockets allow inter-process communication (IPC) between processes on the same machine.  Overview:  Support for the unix socket has existed both in BSD and Linux for the ...

[Cross Post] WSL Interoperability with Docker

We frequently get asked about running docker from within the Windows Subsystem for Linux (WSL). We don’t support running the docker daemon directly in WSL. But what you can do is call in to the daemon running under Windows from WSL. What does this let you do? You can create dockerfiles, build them, and run them in the daemon—Windows or ...

Background Task Support in WSL

Starting in Windows Insiders Build 17046, WSL supports background tasks (including daemons). In the past, if you opened WSL and started sshd, httpd, screen, or tmux  you needed to have a console window open to keep those tools running. But, starting with 17046, these processes will continue running in the background even after the last ...

A Guide to Invoking WSL

There are a variety of ways to invoke the Windows Subsystem for Linux from Windows commandlines and they all behave a little differently. Let’s get to the bottom of it.    “wsl” The first (and recommended!) method will start up your default distro. Additionally, it starts the distro in the current working directory where you invoke ...

WSL & Console team ch…ch…ch…chaaaaanges!

(image) Dear friends of WSL (Windows Subsystem for Linux, nee "Bash on [Ubuntu on] Windows") & Windows Console: I would like to share with you some changes to our org' that will benefit WSL, Windows Console and the Windows command-line in general moving forward. After shipping a major new release, Microsoft often shuffles teams and ...