r/bashonubuntuonwindows • • May 02 '26

Misc. Why does this sub have such a clunky name?

0 Upvotes

The creator of this sub must've had the minimum sense to understand that such long, irrelevant and verbose names reduce searchability instead of increasing it!


r/bashonubuntuonwindows • • Apr 08 '22

self promotion WSL2 Redesigned Windows Terminal (Hyper.js + ZSH + Oh My ZSH + Spaceship + More). Fix Shell Errors

0 Upvotes

If you are looking for a faster Windows shell running Linux, check out my video below. I managed to install a brand new, fresh and fancy terminal and configure it with some nice mods. I'm curious about your thoughts on it. It's much faster than Windows Terminal and you can also make it look much better.
https://www.youtube.com/watch?v=B2FV-6pqm68

Please consider subscribing to my channel if you enjoy my work. I'm doing my best to cheer you up!

49 votes, Apr 15 '22
15 Nice looking
4 Meh, could be better
30 I don't like it. I stay with Windows Terminal

r/bashonubuntuonwindows • • Apr 29 '17

The Windows Subsystem for Linux Guide!

Thumbnail
wsl-guide.org
0 Upvotes

r/bashonubuntuonwindows • • Jan 15 '19

So, can we run 16-bit Windows programs using this (aka finally installers for old programs will works as a lot are 16-bit)?

0 Upvotes

What it says on the tin.


r/bashonubuntuonwindows • • Jul 15 '21

Question What is the advantage of having WSL Ubuntu installed on Windows? Came back to Windows after Linux, but somewhat disappointed with WSL. Looking for some advice

0 Upvotes

I'm really confused which terminal to use. I just want one terminal for everything.
cmd is not an option for sure, it doesn't support UNIX commands.

Today I've installed WSL Ubuntu. I though that's going to be an option, but I'm a little bit disappointed. Since IT DOESN'T SHARE the same PATH with Windows. So in fact I have to install everything twice and match versions, on both Windows and this Ubuntu, that's very inconvenient.

I've been using Linux for a while. So I got used to its terminal and its commands.Now I returned back to Windows, since I can't live without some apps, that linux doesn't support.

I've been also thinking about using Git Bash, since it shares Windows PATH and supports unix commands. Also I like a lot this feature, when you right click in any folder and you can "Open Terminal here".

I'm not an experienced developer, so it's hard for me to understand how should I go about those things? Maybe, working in WSL Ubuntu is fine and I don't really need to have everything installed in Windows, since even VS Code can adjust for WSL and Ubuntu terminal? Idk.

Is it even worth having Ubuntu installed? What is the advantage? Since even Git Bash seems to support all UNIX commands


r/bashonubuntuonwindows • • Apr 15 '24

HELP! Support Request Sudo rm -rf /

0 Upvotes

I did sudo rm - rf / in wsl but it somehow deleted windows system files too . I don't know why


r/bashonubuntuonwindows • • May 09 '18

Does the wsl april 2018 have gpu support?

0 Upvotes

I wanted to know if we had GPU support in the new wsl update.


r/bashonubuntuonwindows • • Mar 15 '22

HELP! Support Request How do I make a frontend to send requests to my backend that runs on 0.0.0.0?

0 Upvotes

I've got a fullstack project which I can setup and work just fine on my Macbook and my Pop_OS! installations, but for some reason it cannot work on WSL2.

What I found so far is that, it's not that the server cannot run on Ubuntu in WSL2 but the frontend is attempting to send a GET request on the backend's IP which is 0.0.0.0/whatever it gets blocked by Windows.

I'm literally dual-booting because I can't find a solution. And if it was a small personal project I'd happily change the setting, but it's a big project that I need for work, and nobody knows because they're not using Windows for that.


r/bashonubuntuonwindows • • Dec 18 '18

Windows Subsystem for Linux Review

Thumbnail
hackernoon.com
1 Upvotes

r/bashonubuntuonwindows • • Jan 26 '19

Don't post dangerous tools here, but do post them over in r/dangerouscomputing

0 Upvotes

In the wake of all the excitement, we seem to have landed on an agreement. Don't post potentially dangerous code here. But I want to see your dangerous code and I'm sure others do, too! Plop it on into r/dangerouscomputing -- I especially would LOVE to see clever windows -> WSL interactions doing interesting things.


r/bashonubuntuonwindows • • Feb 22 '20

WSL How are folks using the new MS Terminal for WSL when it doesn't have mouse support?

9 Upvotes

The newest v0.9 release from last week doesn't have mouse support.

I don't really understand how so many people can be saying to use this terminal when you can't select text or click into a program running in a terminal. It's something you would notice after trying to use the terminal for about 30 seconds.

A few hours after that release I made a 4 minute video that shows how you can't use the mouse to interact with terminal Vim (with or without tmux), but the same set up works with wsltty (another terminal I've been using for over a year now).

That video is at: https://drive.google.com/file/d/1DIR3iwc6AkOLQ19Scv88VI17WdgfJ3Or/view

Does no one else have this issue?

Edit: Well, it's kind of funny that I'm getting down voted for talking about a deficiency / known bug in the new MS terminal but that's ok.

At least there's multiple open issues for this exact bug on GitHub at https://github.com/microsoft/terminal/issues/376 and https://github.com/microsoft/terminal/issues/545. The fix has been actively worked on for over a year, which means one day it should be fixed.


r/bashonubuntuonwindows • • Aug 08 '26

self promotion I built a venv-style environment manager for WSL2 — and benchmarked it honestly against Docker Desktop

0 Upvotes

I kept spinning up throwaway WSL distros by hand — `wsl --export`, `--import`, remember

which one belonged to which project, forget to clean up. So I wrote a CLI that treats a

WSL2 instance the way venv treats a Python environment: it belongs to the project

directory, one command creates it, one command destroys it.

cd my-project

lenv init

lenv run "ls -a"

lenv destroy

Config lives in .lenv/ next to your code. No daemon, no Dockerfile, no registry.

Because the obvious question is "why not Docker Desktop," I benchmarked it properly and

published the results including the parts where I lose:

- Warm command execution: `docker exec` beats `lenv run` by ~46ms. Docker's CLI is compiled

Go, mine is Python. That gap is structural.

- True throwaway (create → run → destroy): Docker wins by ~8x. `lenv init` costs ~2.8s.

- Cold restart of a stopped environment: tie.

- Idle RAM: Docker Desktop ~2.4GB working set. lenv's marginal cost over a machine that

already runs WSL2 is ~0.1GB.

- Disk: Docker Desktop install+data ~5.4GB. A lenv environment is ~100MB.

So it's not faster. It's lighter, and it doesn't leave anything running. If you're on a

16GB laptop and Docker Desktop's idle footprint annoys you, that's the pitch.

Benchmark with method and raw numbers: https://github.com/pranavpd24/lenv/blob/main/BENCHMARK.md

Repo: https://github.com/pranavpd24/lenv

pip install lenv-manager

Not a container engine — no image layers, no registry, no build. And not a security

sandbox: WSL2 distros share the host VM kernel.

Happy to take criticism on the methodology, it's a single-machine benchmark.


r/bashonubuntuonwindows • • Dec 19 '20

WSL2 Tensorflow 2.2 GPU IS NOT AVAILABLE? Spoiler

0 Upvotes

I have been following this tutorial, but it still shows GPU IS NOT AVAILABLE.

I really need help. I am using Ubuntu-20.04 and latest Insiders build.

(1) Use PyTorch and TensorFlow with an NVIDIA GPU in the Windows Linux Subsystem (WSL) - YouTube

Fast Ring Build21277.rs_prerelease.2010207-1443

I have uninstalled Ubuntu twice and don't know what or how this is happening. Any help would be great.!

$ cat /proc/version

Linux version 5.4.72-microsoft-standard-WSL2

$nvidia-smi
$wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
$bash Miniconda3-latest-Linux-x86_64.sh 

tools.yml>>>https://raw.githubusercontent.com/jeffheaton/t81_558_deep_learning/master/tools.yml

$conda install -y jupyter
$conda create --name tensorflow python=3.8
$conda activate tensorflow
$conda install nb_conda
$conda install -c anaconda tensorflow-gpu
$conda env update --file tools.yml
$python -m ipykernel install --user --name tensorflow --display-name "Python 3.7 (tensorflow)"
$jupyter notebook

r/bashonubuntuonwindows • • Jan 07 '23

self promotion "Polus" A new theme for Bash

0 Upvotes

If you are looking for a good-looking, fast and lightweight theme for Bash, then you must use "Polus". Its fully written in Bash under 60 lines of code and doesn't require additional dependencies.

https://github.com/rashed145/polus-bash-theme


r/bashonubuntuonwindows • • Apr 09 '24

HELP! Support Request WSL not working

Post image
0 Upvotes

r/bashonubuntuonwindows • • Jul 06 '17

Slowness of WSL

0 Upvotes

I just started trying windows subsystem. It is very slow. Is it possible to fix? I am not joking, it's much slower than my raspberry pi 3. Way slower.


r/bashonubuntuonwindows • • Nov 26 '18

Non-UWP Ubuntu installation?

1 Upvotes

Is there any way to have Ubuntu installed on Windows 10 *without* requiring the use of the UWP Ubuntu app? I absolutely hate the universal Windows platform app ecosystem and was hoping to configure an Ubuntu installation without relying on the .appx package or Microsoft app store (resulting in the app data being located at %APPDATA%\lxss instead of
%APPDATA%\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState\ among other things). Many thanks in advance.


r/bashonubuntuonwindows • • Jul 03 '23

WSL1 Rate

Post image
0 Upvotes

r/bashonubuntuonwindows • • Apr 16 '21

PSA: Reminder about "accurate, on topic posts and comments"

6 Upvotes

Hey,

Lately a few types of comments have become frequently enough that a rule reminder is in order. Specifically so that corrective action can be taken without explaining it every time. Here goes:

This is a WSL subreddit. We all have it installed for many reasons. Comments that state "Using WSL for XX is unnecessary, use this instead" are not helpful for many reasons, nor are they on topic, or accurate. Don't assume that the one thing someone is having trouble with is the ONLY thing they are using WSL for.

So in closing, comments or posts telling people to use other tools will generally be viewed as off topic and removed. Every good faith effort to provide alternatives to WSL where it is warranted will not fall under this framework.

We are here to provide people with WSL. Not tell them not to use it.

I will lock the comments but welcome feedback through direct messages. Anything relevant will be included here, and I may ask you to post helpful suggestions to create a public dialog. Or feel free to vent or troll, but do it without public audience.


r/bashonubuntuonwindows • • Dec 04 '18

MS killed putty with WSL

5 Upvotes

I just started using the WSL on my win 10 pro and realized that MS killed of putty atleast for me. I just don't see a need to use putty anymore.


r/bashonubuntuonwindows • • Mar 15 '26

WSL2 Gemini linux and wsl aint that dengerous

0 Upvotes

Why do you mean it's dangerous brochacho


r/bashonubuntuonwindows • • 17d ago

WSL2 Yes, I know Neovide exists, but I wanted my own

0 Upvotes

Hey everyone,

I run Neovim in WSL and used Neovide for a long time. I love it, but I

wanted typing to feel a bit snappier and text as sharp as in Zed, so I

tried building my own GUI: right_editor.

It's a native Windows app (DirectWrite + ClearType, DX12) that starts

nvim --embed inside your WSL distro. On my machine keypress-to-frame is

about 3 ms median with LSP and Treesitter (--latency to check yours).

It also has a built-in markdown preview (Ctrl+Shift+M) (very very very young),

Neovide-stylecursor trails and smooth scrolling.

I've only tested it on Windows 11 with Neovim 0.12.6 in WSL2, and it's not meant

to replace Neovide.

It's young, but it's my daily driver now.

Repo: https://github.com/johnright/nvright

Prebuilt exe: https://github.com/johnright/nvright/releases (not signed)

Feedback and bug reports are welcome


r/bashonubuntuonwindows • • Apr 02 '23

HELP! Support Request How do I install this?

Thumbnail
self.ubuntu
0 Upvotes

r/bashonubuntuonwindows • • Oct 21 '16

Utility to defrag an NTFS Volume mounted in Linux?

0 Upvotes

I dug around a bit and this looks like the best subreddit to ask on.

I've long used a method to optimize windows systems that consists of simply booting a machine off a utility disk that will ignore windows file permissions, deleting any crap I wanted, then defraging it. Mini Windows XP was my tool of choice, but since the advent of UEFI Bios and Windows 8 & 10 It's getting harder and hard to find a boot disk that will work.

Good 'old Linux has yet to let me down.