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.

2
votes
0answers
26 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
31 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
36 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 ...
0
votes
0answers
7 views

Can a hadoop-client be installed on Cygwin? [duplicate]

My employer has a Linux-based Hadoop cluster, and I want to connect a windows machine to the cluster as an EdgeNode (gateway). I understand this mixed set up is possible through Cygwin64. Is this ...
1
vote
0answers
25 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
15 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
22 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
24 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
17 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
21 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
64 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
71 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
25 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
0answers
543 views

Mintty fails to render 3 byte UTF-8 on Windows 7

Test A First install: usr/share/fonts/noto/NotoSansMyanmar-Regular.ttf from package: noto-myanmar-fonts Then link font (need relog after): set 'HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\...
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
59 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
96 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
88 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
62 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 ...
3
votes
1answer
148 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
70 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
195 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
63 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
28 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
59 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
17 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 ...
6
votes
1answer
1k views

Get filename without extension in Bash

I have the following for loop to individually sort all text files inside of a folder (i.e. producing a sorted output file for each). for file in *.txt; do printf 'Processing %s\n' "$file" ...
0
votes
1answer
42 views

Sort all files in a folder independently, with an output file for each

I have several folders that contain numerous text files, ranging from tens to 100s. These text files are simple databases containing millions of lines, with each line containing a single record. ...
1
vote
2answers
81 views

In Cygwin, why does echo $PATH work, but $PATH fail?

As seen here, doing echo $PATH gives me my full PATH, but doing simply $PATH gives an incomplete version that looks like it hasn't been escaped properly somewhere: Yet when I look into my ...
1
vote
1answer
17 views

How to print list of packages for which a given package is required in Cygwin?

I am searching for the command-line equivalent of apt-cache rdepends <package> in Debian, i.e. locate all packages for which the given <package> is required. cygcheck.exe doesn't seem to ...
0
votes
1answer
75 views

QEMU User mode emulation

I am a student and trying to compile QEMU on MINGW32 in user emulation mode. I read in certain document that, the following OS are supported in user space emulation: 1. Linux (referred as qemu-...
-1
votes
1answer
177 views

Copy file from Windows to Linux, when a shell script is executed

I have a program on Linux server, which runs a shell script on Linux server. Say /tmp/ShellScript.sh Now I want to copy a file placed on my Windows Machine location C:\WindowsFolder\FileToCopy to ...
0
votes
0answers
215 views

Putty closes by immediately after authentication, Cygwin-SSH on the server

I have installed OpenSSH with CYGWIN on Windows Server 2012 R2 server on Amazon EC - I wanted to create my SSH instead of creating instances in the admin dashboard. My SFTP connection with the ...
0
votes
0answers
88 views

SSH & Windows 10: Connection Works With Powershell and Git Bash But Not With Other Tools

I have generated a pair of keys and have added the public key to my server. When I want to connect to my server I use the command: ssh [username]@[server]. This works fine when I'm using ...
1
vote
0answers
64 views

Cygwin SSH server works with SFTP but not with PuTTY

I followed this video reference https://www.youtube.com/watch?v=dL-9k4riBps (tutorial and explanation on how to restrict a user to their home directory with sshd_config, chroot directory and windows ...
0
votes
0answers
14 views

virtual box shared directories not showing up in cygwin when ssh'ing into it

I've set up too shared directories (Permanent, Automount) between my Linux Mint host and my Win7/Cygwin guest. On the guest, if I open a cygwin terminal and run mount, they show up as: E: on /...
0
votes
1answer
26 views

Ssh'ing in and out of a virtualbox guest

I've set up port forwarding and allowed a firewall exception so I can ssh from my Linux Mint host into a Windows7/Cygwin guest. #from linux host hostuser@host$ ssh -p 2222 guestuser@localhost What ...
1
vote
1answer
79 views

Bash/Cygwin - aliases not behaving like command

I'm trying to get Cygwin setup the tools I use in Windows and am having some troubles. From this post, I found I could specify Notepad++ as my editor using alias notepad="/cygdrive/c/Program\ Files\ \...
1
vote
1answer
23 views

How to disable the bash “bell” on ConsoleZ?

I am using ConsoleZ to work on multiple Cygwin bash terminals. I use the Teb extensively for path completion. But by default, the "bell" sound is heard whenever the completion is not unique. This ...
1
vote
1answer
106 views

cygwin package binaries are missing after installation

I've been using the cygwin and its package manager for months now without a problem. Today I tried to install "curl"+ "jq" (Bin) and even though it did not throw an error and is showing as "...
0
votes
1answer
102 views

Cygwin X applications do not launch

I have a problem with Cygwin X, in that applications don't seem to run. If I try to run gedit, or emacs, the applications seem to just return 0 immediately: me@mycomputer ~ $ gedit & [1] 10244 ...
0
votes
0answers
107 views

rsync on Cygwin: rsync: [sender] write error: Connection reset by peer (104)

I'm trying to rsync some files to my phone from Windows, using Cygwin. I'm trying to make it work via ssh on USB tethering as described in the comments here. I have SSHelper on my phone. My command is ...
0
votes
1answer
22 views

cannot find the file created under cygwin using the search from microsoft windows 7

I am a Windows 7 user and have a large text file (>3 GB) to process and extract information. I chose to run cygwin under Windows 7 to split the file as I do not know how to do it using DOS command ...
1
vote
1answer
75 views

Cygwin: help installing automake

I've been trying to install automake on cygwin and it doesn't work, I've re-run the setup selecting the packages and reinstalling them but it doesn't work.I've also tried installing it via: apt-cyg ...
0
votes
0answers
49 views

Cygwin ssh server no longer works after new router

I had my modem-router combo swapped to a separate modem and router only to find that my Cygwin SSH server can no longer be connected to. From what I can tell looking at the config, there is no IP set. ...
1
vote
1answer
88 views

Linux-like ^A (ctrl-a) in Cygwin

I've installed the latest Cygwin on Win10. Out of habit on *nix, I find myself hitting ^A to go to the beginning of the current line, but the default (hopefully modifiable) behaviour is that it ...
0
votes
1answer
124 views

Cygwin - Run batch file in foreground

This seems like not possible. I've been trying to launch a batch file which has to run in foreground of the user session. so I ssh to Cygwin of remote host and run the batch file and it always ends ...
0
votes
3answers
243 views

Can you make Windows command prompt cmd+cygwin?

I want to make my windows command prompt cmd+cygwin. I should be able to run both windows cmd commands and cygwin commands from my windows cmd prompt. If I add C:\cygwin64\bin to my PATH variable i ...
0
votes
1answer
107 views

How do I use autoconf with Cygwin

Environment Windows 7 Cygwin 2.0.2(0.287/5/3) I have installed autoconf and I have tried... $ autoconf-2.69 autom4te-2.69: need GNU m4 1.4 or later: /usr/bin/m4 and $ autoconf-2.13 Autoconf ...