23 questions
0
votes
0
answers
220
views
How to List Files in Appropriate Location Using echo (bash)
I have a shell script that allows a user to add and/or delete files and directories. It's a file Manipulator. The script keeps track of all files that are added or deleted in a log file. I then read ...
2
votes
1
answer
720
views
How to get a C++ program that uses XWindows to build on Bash on Ubuntu on Windows?
I'm trying to get a C++ program that uses XWindows to build on Bash on Ubuntu on Windows. I understand that Bash on Ubuntu on Windows does not officially support graphical Linux applications, but I ...
0
votes
1
answer
2k
views
How to call bash from Qt creator on windows 10
I have Qt Creator 4.4.1 installed on Windows 10 64 bit. I have also bash on ubuntu on windows installed. I want to call bash from Qt creator in order to execute some linux commands on the project ...
2
votes
2
answers
7k
views
docker-compose ignores DOCKER_HOST
I am attempting to run 3 Docker images, MySQL, Redis and a project of mine on Bash for Windows (WSL).
To do that I have to connect to the Docker engine running on Windows, specifically on tcp://...
1
vote
1
answer
820
views
How to run bash files in IDE like pycharm on OS "Bash on Ubuntu on Windows10"
My OS is win10 X64, and I have installed Bash on Ubuntu on Windows.
My IDE is Pycharm2017, and I have installed bash-plugins like BashSupport, Shell Process.
My test file helloworld.sh has codes like ...
0
votes
1
answer
4k
views
Installing Mercurial (hg) on Bash on Ubuntu on Windows
I'd like to install Mercurial (HG) on Bash on Ubuntu on Windows. Though Mercurial official site offers download for both Windows and Ubuntu, it does not offer a download for Bash on Ubuntu on Windows (...
2
votes
0
answers
1k
views
Docker-compose no such file or directory windows ubuntu bash
I'm having problems with starting my containers via docker-compose up.
I guess this is an Windows problem, because my colleague owns a macbook and has now problems when he runs docker-compose up.
...
2
votes
0
answers
118
views
SWI-Prolog 7.2.3 has library on one machine but not another
I am developing Prolog code and using SWI-Prolog on two different machines. Both SWI-Prolog installations are on Bash on Ubuntu on Windows 10.
I don't remember the steps I followed to install SWI-...
1
vote
1
answer
2k
views
Issue passing valid command-line arguments for socat
Whereas this works as expected:
root@LIM:~# socat -d -d pty pty
2017/10/15 01:01:49 socat[91] N PTY is /dev/pts/0
2017/10/15 01:01:49 socat[91] N PTY is /dev/pts/1
2017/10/15 01:01:49 socat[91] N ...
6
votes
3
answers
5k
views
Using Git with VS Code and Bash on Ubuntu on Windows (WSL)
I couldn't figure out how to integrate WSL with VS Code. I can open the integrated terminal using:
"terminal.integrated.shell.windows": "C:\\Windows\\sysnative\\bash.exe"
The integrated terminal ...
15
votes
3
answers
8k
views
Visual Studio Code, Python linting with WSL (Windows Subsystem for Linux)
I'm using Windows 10 on 64 bit PC. Recently, I started using VS Code with Ubuntu Bash on Windows. Everything works great except linting. I tried to get it working with pylint and pep8 but none of them ...
0
votes
0
answers
26
views
syntax error near unexpected token `else' on Windows bash, but not on Ubuntu [duplicate]
I made and tested this bash script on an ubuntu machine at my school and then I came home to use it on the windows 10 Bash and I am getting these errors:
./newflask.sh: line 8: syntax error near ...
0
votes
0
answers
343
views
Bash on Ubuntu on Windows: Can't handle signal
I developped, last year, a program in C on my old computer (on Ubuntu) in which I used 3 signals: SIGUSR1, SIGUSR2 and SIGQUIT.
But now, I'm on a new computer (on Windows) and I installed "Bash on ...
-1
votes
2
answers
1k
views
Browser Automation using Bash On Ubuntu On Windows
We have a strong regression automation suite developed with Watir for Web Apps and Calabash for IOS and Android and so far our executions are happening on Mac OS.
We want to use RVM on Windows 10 so ...
0
votes
0
answers
161
views
Srapy startproject error - Python 3 - BashOnUbuntuOnWindows
I try to use Scrapy for the first time in a Bash On Ubuntu On Windows 10 and get this error when i start a new project:
(myvenv) mothinx@DESKTOP-4M9JDPL:~/laplanetebleue$ scrapy startproject ...
2
votes
1
answer
561
views
docker-machine on Linux subsystem for Windows can't connect to running host
I'm running Docker for Windows 17.06.2-ce on Windows 10 1703 build 16278.1000.
I have created a cluster with two Hyper-V hosts similair to https://docs.docker.com/get-started/part4/#understanding-...
0
votes
2
answers
505
views
edu.stanford.nlp.util.ReflectionLoading$ReflectionLoadingException when using CoreNLP with Jython
I'm trying to use CoreNLP run off of Jython 2.7.1, ran using IntelliJ IDEA, with the following test code:
from edu.stanford.nlp.simple import *
s = Sentence("This is a test.")
ss = s.nerTags()
print(...
2
votes
0
answers
46
views
^@ shows up randomly in Bash on Ubuntu on Windows while running Python program
I have a python program that basically parses through some CSVs and prints out a line and then stops until the user hits enter. Here is the full code:
#!/usr/bin/python
import os
import csv
import ...
3
votes
0
answers
586
views
Termbox library can not be initialized at termbox-go
I'm creating an application using termbox-go. This library works fine at windows DOS (windows10). But at Bash on Ubuntu on Windows, it was found that when termbox.Init() is run, an error of invalid ...
28
votes
7
answers
33k
views
PgAdmin on Windows 10 with Postgres when installed via Bash on Ubuntu on Windows
I would like to install Rails 5/Postgres within Bash On Ubuntu On Windows
and also be able to access Postgres database via PgAdmin for Windows.
Am quiet happy to install all my rails dependencies ...
17
votes
5
answers
40k
views
npm start not refreshing new content on save on one computer, but is on another with almost exact same setup
I have my work computer which is a Windows 10 Pro and my laptop is a Windows 10 Home. Working on the same project on both: push and pull to Git. Learning React through Udemy. Both computers using ...
-2
votes
1
answer
188
views
How to use wget after installing it ?
I do want to download documentation for me to view it offline but after installing it to this directory :
C:\wget\GnuWin32
when i try to open command prompt and go into that directory and type ...
8
votes
1
answer
1k
views
address sanitizer won't work with bash on windows
Currently running llvm, clang, clang-format, and clang-modernize on Ubuntu Bash on Windows. I would like to use the set of sanitize tools released by google including address, memory, and thread ...