Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [cygwin]

cygwin provides a Unix/Linux-like environment under Microsoft Windows OSes.

0
votes
0answers
20 views

X forwarding works from Cygwin shell, but not with PuTTY

As subject, I've X forwarding working from a Windows client if I use the Cygwin terminal and do: DISPLAY=:0 ssh -Y me@remote-host If I were to use PuTTY from the same Windows host (checked Enable X ...
1
vote
1answer
40 views

An issue with ncview (netCDF visual browser) on cygwin - windows 10

I have an issue with ncview on cygwin. Can anyone help? I have installed cygwin on windows 10 and followed the instructions on Ncview under Windows. my output from ./configure and make install are ...
0
votes
0answers
29 views

Git commit only accept slash?

I got this error: pathspec '.\.filename' did not match any file(s) known to git. when I tried to commit with file path include \, but now it only accepts path with /. I am running windows 10 with ...
2
votes
1answer
42 views

Weird C++ library linkage issue with clion and cygwin

I have the following error when trying to compile a c++ program while linking the library Libssh on Windows (packages libssh-common and libssh-devel both installed with cygwin). Clion doesn't give me ...
0
votes
0answers
30 views

unable to hide dev folder coming to sftp (cygwin)

I am working on an sftp using cygwin in windows 2012 R2 In /etc/fstab added below two config. The cygdrive is getting hide. But i am able to see dev folder. /dev /null none bind none / cygdrive ...
0
votes
0answers
12 views

Hide a specific folder based on user in cygwin sftp

I am using cygwin to do sftp. I have a problem which is shown below datafolder/ data1 data2 data3 This folders will be ...
0
votes
1answer
22 views

Recover Cygwin after MKS Toolkit installation

I used to use Cygwin on my Windows desktop for a while and was happy until I installed some other app recently. This app itself is not relevant here (let's call it ABC app), the main thing that it has ...
0
votes
2answers
30 views

cmake environment error with clion

I downloaded MinGW/cygwin/mingw-w64 not one of them work. I can't find the issue, every time CMake - Bundled "!Does not work in this environment". I watched youtube for clion-setup more than one. I ...
0
votes
0answers
19 views

Simulating WAves Nearshore and the use of triangle.

Hei, I'm trying to get into SWAN and triangle, while not having any coding experience and I'm having a hard time since following designated guides do not give results. Does anybody have any idea how ...
0
votes
0answers
28 views

Creating a Windows application that has to call bash scripts and Python scripts that use Linux-based modules?

I want to create a Windows application that calls bash scripts and Python scripts that use Linux-based modules. I'm pretty new to this, so I'm sorry if this is a dumb question. What would be the ...
0
votes
1answer
38 views

Trying to compile Asylia via its makefile, with MinGW… Wrong compiler? How to fix?

I'm trying to compile Asylia via its makefile, with MinGW... Am I using the wrong compiler? It's seems MinGW is getting stuck on the square brackets in "$(BUILD):"... And square brackets in MinGW are ...
1
vote
1answer
25 views

Creating a service for snmpd.exe on windows server + Cygwin

I need to create a service for the snmp daemon snmpd.exe which is installed on my windows server 2016. I use sc create snmpd binPath= "C:/path/to/snmpd.exe" and then I try to start it with sc start ...
0
votes
1answer
22 views

Cygwin: how does /usr/bin/vim resolve to a specific version of vim?

This started when I ran vim in Cygwin and all of a sudden I got the error message: E185: Cannot find color scheme 'alduin' when I didn't used to get this error prior to today. I had been messing with ...
1
vote
0answers
29 views

Exclude System entries with “ls” or “find”

Compare Cygwin: $ ls -1 -N /cygdrive/c $Recycle.Bin cygwin64 Documents and Settings pagefile.sys PerfLogs Program Files Program Files (x86) ProgramData Recovery System Volume Information Users ...
0
votes
1answer
60 views

Windows 7 how to do simple traceroute with ping? [duplicate]

On mac, I can do this: > ping -DRo computerhope.com https://apple.stackexchange.com/questions/125068/is-there-an-equivalent-utility-to-linuxs-tracepath-for-os-x And it will basically do a simple ...
0
votes
1answer
18 views

How do I get tracepath (not traceroute) for cygwin?

I need the tracepath utility (not traceroute) on my Windows 7 cygwin. "The main difference between the two is that you need to be a superuser on a Linux computer to use traceroute, whereas tracepath ...
0
votes
0answers
13 views

Cygwin rsync backgroud job

We are moving windows server from a very old version (2008) to a new one. We are putting the storage on a nfs system that will be shared between several servers. All good and well - but the 2008 ...
0
votes
0answers
26 views

ssh on msys2 not using correct home directory for .ssh

$ cd $HOME $ pwd /c/Users/rjt_jr $ cat /etc/nsswitch.conf passwd: files db group: files db db_enum: cache builtin db_home: windows cygwin desc db_shell: windows cygwin desc db_gecos: windows cygwin ...
0
votes
0answers
30 views

How to change permissions under Mingw or Cygwin?

My ~/.ssh/id_rsa is 644 when it should be, I believe, 600. The host is Windows 10 and I have both git-bash 2.17.0 and MobaXterm 10.5-3582. If I try to change group, git-bash will fail with $ chown :...
1
vote
1answer
170 views

How can I fix the error “fatal error - cygheap base mismatch detected” when using git on Windows 10?

When using git on Windows 10 (1803), some commands give the following error: git submodule add https://github.com/..../......git ...... 3 [main] basename (13656) C:\.....\basename.exe: *** ...
0
votes
0answers
58 views

synchronize cygwin installed packages between multiple machines

I have 4 machines that I'm trying to keep in sync ie. same settings and installed packages. Is there a folder that I can add to a repo and use git to keep in sync so that i can guarantee consistency ...
1
vote
1answer
21 views

Searching for square bracket with zipgrep

I have tried this in Cygwin and git-bash - same result. With plain grep, a [ character in the pattern can be escaped with a backslash to indicate a literal [ character is to be searched for. But ...
0
votes
1answer
47 views

How can I fix this error when trying to install Oh-My-Fish?

I am using fish via Cygwin on Windows 10; whenever I try to install OMF, I am presented with this error: curl -L https://get.oh-my.fish | fish.exe % Total % Received % Xferd Average Speed ...
2
votes
1answer
148 views

Why does ls wrap some filenames in single quotes?

I've noticed that when I do ls in a terminal, some filenames are wrapped in single quotes and some aren't. I don't like the way this looks as I prefer my terminal outputs to be nice and uniform. ...
0
votes
2answers
40 views

cmd.exe launched from another cmd.exe

I'm doing a script that I start with bash.exe from Cygwin on Windows: C:\bash.exe my_script.sh It changes my Python Virtual Env depending of some conditions. For those who know Virtualenv, I need to ...
2
votes
1answer
66 views

Files created in Cygwin have corrupt Windows security settings

On one Windows 10 PC, when I create a file from a Cygwin bash shell, the Windows security settings for the file are corrupted. So, for example, if I type echo test > test.txt, when I bring up the “...
0
votes
1answer
114 views

Midnight Commander on Windows

I would like to use Midnight Commander on Windows. I found some threads related to Cygwin enabling me to use linux software on Windows. Can anyone point me to a documentation that might help me ...
0
votes
2answers
103 views

Running an .exe file in cygwin.

I'm absolutely new in CYGWIN and Bash in total, so, I guess that there is an answer somewhere in a documentation, but I'm not succeeded finding it. I have two files coexisting in a directory: file ...
1
vote
0answers
41 views

cygwin + tmux and multiple bash processes

I have cygwin and tmux installed. Every time I run a terminal I also run tmux and then fire up weechat. When I have to leave, I just close the terminal window and tmux keeps running in background... ...
0
votes
0answers
23 views

Opening PDB file in GROMACS on Windows using Cygwin?

I am a first time user of GROMACS. According to this excellent tutorial (http://www.mdtutorials.com/gmx/lysozyme/01_pdb2gmx.html), I downloaded the PDB file for lyzozyme, then removed water molecules, ...
0
votes
0answers
27 views

Shell script execute permission not preserved on Windows VM guest in Cygwin

I have a Ubuntu machine that is running a windows 7 VM. I am using VMware workstation 15 pro. My home directory is shared with the VM and is mapped as a network drive on the Windows guest. I have a ...
0
votes
0answers
30 views

g95 on Cygwin not working

I have installed Cygwin over a year ago with no issues. However, today when I went to compile a FORTRAN program I wrote, I get the following error messages: (g95 -o movie4 movie4.f90 is how I invoke ...
0
votes
0answers
22 views

Ansible command not working on Cygwin

I have configured Cygwin on Windows Server, but the below command is not showing any error. How I can solve the problem? $ ansible all -m ping
0
votes
0answers
23 views

Open new instance in same directory by shortcut

I'm used to the KDE Konsole where I can hit Ctrl + Shift + N to open another instance of Konsole which already is in the same path as the first instance. Is there a way to achieve the same behaviour ...
0
votes
0answers
150 views

Windows git “bad file descriptor” while commiting on OES Network Share

Upfront: I don't have much experience with Windows and hardly any with coorporate networks. I'm trying to use git for version control during the development of my software. The company I work for is ...
1
vote
1answer
75 views

Consistent plain text file printing between Mac and Windows

I have various plain text files that I'd like to print in a fixed width font. I want them to print in whatever the default is for Mac OS X / MacOS, I believe it's Monaco.ttf or some derivative at ...
0
votes
0answers
52 views

Error installing Pysam in Cygwin

I'm new to Cygwin and Python. I'm trying to install Pysam, but am getting the following errors at the end: Traceback (most recent call last): File "", line 1, in File "/tmp/pip-install-...
0
votes
1answer
28 views

How to view the simulation after running the code on Cygwin?

I am using a MD program called Macsimus, I ran a test simulation, however I cannot see any plot showing up? I see the following comments on Cygwin showcp is /cygdrive/c/Users/Neena/Desktop/...
1
vote
3answers
89 views

How can I switch the SSH that Windows 10 is using on the CLI?

I'm having some problems with another version of SSH that I have installed on a windows machine.. I don't know how it got installed... but it is there: C:\Windows\System32\OpenSSH I have another ...
1
vote
0answers
215 views

Cygwin to open .sh files on Windows 10 [closed]

I installed Cygwin64 but I tried opening .sh file on Cygwin by typing bash run.sh but it shows no such file or directory. The .sh file is under a folder which is saved on desktop. How to make this a ...
2
votes
2answers
127 views

How to programmatically clear buffers and caches in Windows

I need to ensure that neither buffers nor caches are being employed before benchmarking the speeds that some bash commands run at in a Cygwin environment. Although I'm doing the benchmarking in Cygwin/...
1
vote
1answer
16 views

Shell scripts: Change page-width of a PDF?

I have a scanned PDF file, where different pages have different page widths due to how the PDF was concatenated from multiple sources. This tends to trip up viewers. Is there some command line tool, ...
1
vote
1answer
67 views

Benchmarking bash commands with time and tee

I have a directory containing more than 80GB of simple text file databases that I anticipate needing to grep through often. For this reason, I'm trying to create some tests to compare GNU grep with ...
4
votes
1answer
632 views

What is the difference between Windows Subsystem for Linux (WSL), Cooperative Linux (coLinux), and Cygwin?

Did anybody still remember coLinux? I remember it is used for SpeedLinux and Portable Ubuntu some years ago. It's pretty clear what is coLinux doing, running Linux on top of Windows somehow, but can ...
-1
votes
1answer
75 views

Allegedly good method to change the default shell in Cygwin doesn't work for me. Why?

I'm trying to get Cygwin (CYGWIN_NT-6.1 / 2.11.1(0.329/5/3)) to start with tcsh as default shell on Windows 7. I read this question and answers there but had some issues with the mintty method ...
0
votes
3answers
262 views

Bash: I want to type a tilde. Pressing F10 gives me '1~' instead of just '~'

Previously I was able to output the tilde symbol in my bash terminal by pressing F10. Now when I press F10 I get two characters: '1~'. Same goes for F9/F11/F12. Weirdly, the other function keys F1-F8 ...
0
votes
0answers
75 views

Consequences of removing NUL characters from a text file?

I have quite a large text file (around 20GB) that I use as a simple database, so each record is separated by a new line, and the breaking of this format will cause problems. This file also contains ...
0
votes
0answers
40 views

Why can't I cd to a mapped drive using sftp?

I'm trying to upload a file to a mapped drive (D:) on a remote server using sftp. I can RDP into that remote Windows 2012 server and see the D: drive in Explorer. In a command shell I can also see ...
1
vote
1answer
102 views

dd not performing as expected in Cygwin

I am trying to backup an entire drive to an image file in Cygwin. $ dd if=/dev/sdc of=/cygdrive/i/Storage$/backups/2018-09-18.img conv=noerror,sync status=progress bs=1M 0+0 records in 0+0 records ...
1
vote
1answer
37 views

Rehash of a solution for cygwin/gfortran that does not work

I have Cygwin installed on my WIndows box. I am trying to install a program that requires gfortran to build. I found a few solutions mentioned previously such as apt-cyg gcc4-gfortran to install the ...