I’m writing a script to run on UBUNTU WSL in Windows. I use zsh as my shell, but bash could work too here. I’d like that bash script to use wt.exe (Windows Terminal) to open some new tabs. Here’s what I have so far: You’ll need Windows 10 w/ Ubuntu WSL and Windows Terminal for that to work. This bash
Tag: windows-subsystem-for-linux
How can I execute one command from cmd while executing a script in WSL?
I have a build script I’m using in a project I’m currently working on. I found that a certain command only works from cmd and not WSL, but I want to continue to work in WSL. I have something like this: Say command2 only works in cmd. How can I make this script switch to cmd, execute a command and
Unable to push/pull docker image to a certificate authenticated private registry? (Not workin only on WSL, remote error: tls: alert(116))
I think this is a really strange and interesting issue. I have a client cert authenticated docker registry set up, width the help of apache. I have put the necessary certificate files to the appropriate folders according to this article. Docker pull/push gives this error message: Error response from daemon: Get https://***:9443/v2/: remote error: tls: alert(116) I think my certificate
Holographic remoting remote app using OpenXR on Linux
The documentation at this MRTK page implies that an OpenXR remote app is possible. However, the rest of the article only discusses the Microsoft.Holographic.Remoting.OpenXr Nuget package and later, in this section, specifics of a DX11/12 based implementation. My question is: Is it possible to develop a Holographic remoting remote app on Linux using a different OpenXR runtime or any other
Running LISP code via CLISP on Linux (Ubuntu WSL)
I am new to LISP and was wondering how to correctly run a simple lisp program on Ubuntu Linux. Currently, I have a LISP file called “intmax.lisp” that contains the following code: (defun intmax (x y) (if (> x y) x y)) However, when I go to the command line and run: clisp intmax 2 4 To compare 2 and
How to open VSCode from a Windows Linux Subsystem?
I have VSCode installed on my host OS which is Windows 10 on which I have an Ubuntu Subsystem terminal (WSL) and I’m trying to open VSCode from whitin it with this command code . The problem is that the output is Command ‘code’ not found. How can I make this work? Answer First, try installing the Remote – WSL
Linux Socket timeout works on WSL, but not on Ubuntu
I try to run a TCP client without a server. The idea is simply to periodically try to connect. For this, the client tries to connect to port 1500 on localhost. Piece of code: I’ve set it up in Ubuntu 18.04 on WSL. There, the code waits on select for the defined timeout of 2 seconds and returns appropriate return
Does the linux subsystem in windows also run when no one is logged in?
I am trying to get comfortable with hosting software on linux instead of windows. To try that, i want to use a linux system that runs on a windows machine. First, there is HyperV, from which i know will execute the linux VM in the background, even thou no one is logged in. Then there is the “Linux subsystem for
why is htop command displaying a black screen [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question
Bash script to pull variable credentials from another file using “. filename”
Running Ubuntu 18.04 subsystem on Windows 10, but have also tried to do this on a Ubuntu 18.04 Google cloud virtual machine. I’ve realised that baking my login credentials into my scripts is a rather dumb idea, not just for the security risks but because I’ll have to edit every script if I change my password… I discovered that I