На информационном ресурсе применяются рекомендательные технологии (информационные технологии предоставления информации на основе сбора, систематизации и анализа сведений, относящихся к предпочтениям пользователей сети "Интернет", находящихся на территории Российской Федерации)

Feedbox

12 подписчиков

How to Set Your Default Linux Distribution on Windows 10

Author: Chris Hoffman / Source: howtogeek.com

Windows 10 now allows you to install multiple Linux environments, starting with the Fall Creators Update. If you have multiple Linux environments, you can set your default and switch between them.

You’re free to run multiple Linux environments at once, but your default environment is used when you run a command like wsl.exe or bash.exe to launch the shell, or when you use wsl [command] or bash -c [command] to run a command from elsewhere in Windows.

How to Set Your Default Linux Distribution

The wslconfig.exe command lets you manage the Linux distributions running via the Windows Subsystem for Linux, or WSL.

To run it, you need to open either a Command Prompt or PowerShell window. To open a Command Prompt window, open the Start menu, type “cmd”, and then click the “Command Prompt” shortcut. To open a PowerShell window, right-click your Start button (or press Windows+X), and then select the “Windows PowerShell” command.

To view your installed Linux distributions, type the following command and hit Enter:

wslconfig /l

The Linux distribution ending with “(Default)” is your default Linux distribution.

If you don’t see an installed Linux distribution in this list, you’ll first need to launch it. Wait for the “Installing, this may take a few minutes…” process to complete. When it’s…

Click here to read more

The post How to Set Your Default Linux Distribution on Windows 10 appeared first on FeedBox.

Ссылка на первоисточник
наверх