Jump to content
27 minutes ago, BiggestAl said:

I just saw a video about the new windows terminal and saw an easter egg of ubunto in it. I wonder if epic Anthony could do an episode on the new windows terminal?

No Easter Egg. It is called WSL, or if you prefer Windows Subsystem for Linux.

 

In short and brief, you are running Linux kernel with a Linux distro of choice with Windows 10 (no full Virtual Machine, no loss in system performance, no reduction of RAM due to reserved memory by the VM, etc). This feature have been introduced 2 years ago.

 

This allows you to run Linux programs under Windows, and use Linux bash command lines through Windows terminal consoles (Command Prompt, PowerShell, and soon Windows Terminal)

 

To get started, it is a real easy:

  1. You must be running on Windows 10. Later the version of the better things are.
  2. Enable "Windows Subsystem for Linux" through the "Windows Features" panel (Start/Search > type: Windows Features > pick "Windows Features" Scroll down, and check the box). Restart of the PC may be required.
  3. Fire up the Store, and type in "Linux" in the search box, and you'll find many distros, such as:
    • Ubuntu
    • KALI Linux
    • Bedian
    • SUSE Linux
    • OpenSUSE Leap

Once you install your distro of choice, you'll find the distro in your start menu, and just run it. Tada!

 

Link to comment
https://linustechtips.com/topic/1061939-new-windows-terminal/#findComment-12548198
Share on other sites

Link to post
Share on other sites

1 hour ago, GoodBytes said:

No Easter Egg. It is called WSL, or if you prefer Windows Subsystem for Linux.

 

In short and brief, you are running Linux kernel with a Linux distro of choice with Windows 10 (no full Virtual Machine, no loss in system performance, no reduction of RAM due to reserved memory by the VM, etc). This feature have been introduced 2 years ago.

 

This allows you to run Linux programs under Windows, and use Linux bash command lines through Windows terminal consoles (Command Prompt, PowerShell, and soon Windows Terminal)

 

To get started, it is a real easy:

  1. You must be running on Windows 10. Later the version of the better things are.
  2. Enable "Windows Subsystem for Linux" through the "Windows Features" panel (Start/Search > type: Windows Features > pick "Windows Features" Scroll down, and check the box). Restart of the PC may be required.
  3. Fire up the Store, and type in "Linux" in the search box, and you'll find many distros, such as:
    • Ubuntu
    • KALI Linux
    • Bedian
    • SUSE Linux
    • OpenSUSE Leap

Once you install your distro of choice, you'll find the distro in your start menu, and just run it. Tada!

 

So if linux is operating within windows are they crossing the the c++ commands from the linux os into the windows os through like a “translator” ?

Link to comment
https://linustechtips.com/topic/1061939-new-windows-terminal/#findComment-12548309
Share on other sites

Link to post
Share on other sites

WSL1 operated like that.

WSL2 will have a tiny VM running the linux kernel which MS says will make it more performant. 

And yup, you can install it right from the MS store: https://www.microsoft.com/en-us/p/ubuntu/9nblggh4msv6?activetab=pivot:overviewtab 

Intel 11700K - Gigabyte 3080 Ti- Gigabyte Z590 Aorus Pro - Sabrent Rocket NVME - Corsair 16GB DDR4

Link to comment
https://linustechtips.com/topic/1061939-new-windows-terminal/#findComment-12548342
Share on other sites

Link to post
Share on other sites

23 minutes ago, BiggestAl said:

So if linux is operating within windows are they crossing the the c++ commands from the linux os into the windows os through like a “translator” ?

C++ commands?!?

crossing commands?!

I am lost....

 

The way WSL is complicated.

 

Short Story:

Yes, Linux kernel, and only the kernel,  is translated.

 

Long Story:
https://blogs.msdn.microsoft.com/wsl/2016/04/22/windows-subsystem-for-linux-overview/

https://blogs.msdn.microsoft.com/wsl/2016/05/23/pico-process-overview/
https://blogs.msdn.microsoft.com/wsl/2016/06/08/wsl-system-calls/

https://blogs.msdn.microsoft.com/wsl/2016/10/19/windows-and-ubuntu-interoperability/

 

Link to comment
https://linustechtips.com/topic/1061939-new-windows-terminal/#findComment-12548356
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×