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

learn more… | top users | synonyms

6
votes
1answer
394 views

bash column command confused by ANSI color escapes

I have a bash script I got from Gary Bernhardt's dotfiles that prints a nice colorized listing of the recent git commits. It uses the column command to line the output up into columns. On my mac, it ...
5
votes
1answer
597 views

Running fsck from cygwin shell?

I need to be able to check / fix file system errors on SD cards from a win7 box. I had hoped to use e2fsck from cygwin but am having some issues getting this to work. (SD cards are used to boot ...
4
votes
1answer
560 views

lpr on Cygwin appending .lnk to my PRINTER value

I have Cygwin on a Windows 7 machine. In my .bashrc file, I have tried export PRINTER=\\\\myPrintServer\\myPrinter Escaping the backslashes, which, when I type $lpr -D, gives me Windows Printer ...
3
votes
1answer
48 views

Reactivate Dormant Processes in Windows7

I have a very computationally intensive program (which I wrote in python) and starting two days ago I ran 6 copies of it in parallel (using 6 Cygwin terminals on a Mac Book Pro running Windows7 in ...
3
votes
1answer
655 views

Copying folders with cygwin

The folder produced by cp -r myfolder myfolder2 is marked shared as reported by "It is shared with other people. Are you sure that you want to delete it?" dialog in windows when I try to delete the ...
3
votes
1answer
316 views

Installing GNU mailutils on windows

I'm using Windows 7, and would like to use the GNU mailutils, specifically mu and mu4e. Unfortunately, these are not available as Cygwin packages. Is there any way to use GNU mailutils on windows ...
3
votes
1answer
2k views

Cygwin vim doesnt show 256 colors under ConEMu

When using cygwin vim under ConEmu, the default vim theme doesnt display correctly after I set t_Co=256. This is how ConEmu looks after the command: http://postimg.org/image/g6g98exbx/ My .vimrc: ...
0
votes
0answers
265 views

Windows 10 Technical Preview: running custom commands

I have recently installed the Windows 10 Technical Preview and like using unix in my terminal. When I had Windows 8 I used a very lightweight application called gow that installed a few unix commands ...
0
votes
0answers
39 views

openssh slower in windows 7 than linux

I can acces to a ssh server. My client ssh is on a dual-boot machine: windows 7 and ubuntu 14.10 With ubuntu, I can download at the speed of 190 ko/s in average (my connection is 2 Mb). Even better, ...
0
votes
0answers
49 views

appying dos2unix on all files under folder

I am trying to appply dos2unix on all files. find $WORKSPACE/itrp-sr -type f -exec unix2dos.exe {} \; but is resulting in an error 1 [main] find 3468 fork: child -1 - forked process 4524 died ...
0
votes
0answers
41 views

How can I transplant my Cygwin installation to another machine/architectureI?

The specific problem I have is this: I have an old (but up-to-date) Cygwin 32-bit installation that has evolved over the past ten years or so. I want to move to a 64-bit Cygwin, with the same ...
0
votes
0answers
134 views

32bit and 64bit Cygwin sshd services on the same machine

I have Windows 7 station and I would like to have two running sshd services: ssh daemon for 32bit Cygwin ssh daemon for 64bit Cygwin I installed 32bit Cygwin sshd using setup script ssh-host-...
0
votes
0answers
72 views

Find real size of Windows/winsxs folder in Cygwin

I'm running Cygwin with the default installation. I'm a complete noobie to Linux & Cygwin. I just figured out how to find all hardlinked files in my c:\windows\winsxs folder. (Navigate to /...
0
votes
0answers
22 views

How to Download HTML Pages of a WebSite, Based on a Time Stamp?

I know this might be a repeated question, and I'm sorry for that, but I failed to find any answer for my problem . I Just want to download the Pages html files, without any other contents, and (If ...
0
votes
0answers
1k views

Use Cygwin ftpd standalone

For sharing files between a guest Linux running in a virtual machine and the host system, the plain old FTP seems sufficient to me. I intend to use the host, Win7 + Cygwin, as the FTP server. How-to'...
0
votes
0answers
401 views

Bypass the $Recycle Bin in CygWin?

I'm using a CygWin session to find a large number of directories at a certain level in the file system tree in a loop, compress each directory into 1 archive, then delete the directory This ...
0
votes
0answers
273 views

vim (7.4) command line does not display on win8.1 64 bit

The vim (7.4) command line does not display on win8.1 64 bit in mintty, rxvt, or command prompt windows. I am using the same config files on win8.1 as on win7, where vim displays correctly (same ...
0
votes
0answers
75 views

My Fortran files are not executing in Cygwin terminal command

I could able to exe fortran file in CYGWIN TERMINAL COMMAND.It's showing the following error. 1.$ cd d: 2.$ cd workspace/practice 3.$ ls Debug first.f90 4.$ gfortran first.f90 -o fir Assembler ...
0
votes
0answers
125 views

Default permissions on a Samba share from Cygwin not respected

I have a samba share on a Linux machine (Ubuntu 12.04) set up with the following config: [share] comment = Share read only = no browsable = yes writable = yes path = /mnt/hdd/share ...
0
votes
0answers
428 views

chgrp and chmod not working in cygwin (windows 8)

I work in "C:\Users\leyou.ssh" I need to chmod id_rsa to 600 as it's currently 644, but it has no effect. Hence I tried "chgrp Users id_rsa" but it doesn't work neither and the group remains as "...
0
votes
0answers
581 views

android.bat is not recognized as an internal or external command

I have setup up the environment for cocos2d-x. I have edited the create-android-project.bat file according to my Cygwin, SDK and NDK locations. Now when I try to create a new cocos2d-x project double ...
0
votes
0answers
893 views

ssh connection refused error on cygwin on windows 8

I set up sshd on cygwin (via the openssh package), and started up the ssh daemon on port 7000. I opened up the port 7000 on my modem as well as windows firewall. From the cygwin prompt, when I connect ...
0
votes
0answers
82 views

How to set my special keys keycodes in Cygwin (ctrl+right etc…)?

Most of the convenient key combinations are not working with on cygwin, unless the program I am using bind it in a configuration file (CTRL+<direction>, SHIFT+<direction>, CTRL+Home, CTRL+...
0
votes
0answers
284 views

Running exe generated with GCC using cygwin without admin rights

So this awesome company that I work for has a picky IT department that doesn't allow developers to have admin rights. What is the best way to go about running a .exe generated from Cygwin GCC without ...
0
votes
0answers
231 views

how can I connect from Linux to windows with ssh without password?

I have a Linux server(CentOS) an some windows clients with shared folders. I want to connect to windows with ssh. I already install cygwin on windows and openssh on it. I can connect from windows to ...
0
votes
0answers
348 views

Why ssh connection fails if `id_rsa.pub` file exists in local `.ssh` directory?

I just noticed if id_rsa.pub exists in local ~/.ssh directory, I can't connect my remote server with ssh command. But I have no idea why is that. Is it dangerous for security if public key exists at ...
0
votes
0answers
346 views

Cygwin can't execute Shell script

I am trying to execute a Shell script using Cygwin. When I type this in the Cygwin terminal: sh build-native.sh I get this: build-native.sh: line 2: ndk-build: command not found It's a script ...
0
votes
0answers
603 views

How to install Mahout on Windows 8.1?

My goal is to build up a recommendation system and after going through many articles, I came across Mahout as a simple, yet effective way to go on. I already have XAMPP installed on my system. How ...
0
votes
0answers
117 views

Special and diacritic charactres using less, cat and other linux tools

I am using GNU bash, Version 4.1.10(4)-release (i686-pc-cygwin) and set up my .inputrc to allow for special characters and German umlauts etc.: set meta-flag on set convert-meta off set output-meta ...
0
votes
0answers
1k views

netstat reports a pid that tasklist cannot find

I was trying out cygwin lighttpd and got the error can't bind to port: 80 Address already in use I used netstat to find out which process is using it: C:\WINDOWS\system32>netstat -ao | ...
0
votes
0answers
68 views

ssh with an alternative configuration directory?

Is there any way to run the standard Cygwin ssh command with an alternative $HOME directory or an alternative .ssh configuration directory? UPDATE: it turns out this is a duplicate question; but it ...
0
votes
0answers
365 views

Failed to set permissions of path: ..\taskTracker\cyg_server to 0700

While running a job in Cygwin in Hadoop cluster, the permission failed. $ bin/hadoop jar hadoop-examples-*.jar wordcount inputwords outputwords2 Patch for HADOOP-7682: Instantiating workaround file ...
0
votes
0answers
335 views

Ctrl-D does not do what it's supposed to in Cygwin on Win7, according to C tutorials

I'm following examples in the book Head First C, and I'm supposed to enter strings at the command line for the program to encrypt, then ctrl-D when I'm done. But ctrl-D doesn't have any effect.
0
votes
0answers
98 views

Getting rid of “bash.exe” - from my startup

Soluto reports that bash.exe is taking up 40 seconds of boot time, but I cannot disable it. If I search for it in msconfig, I cannot identify it. If I search for "bash.exe" I cannot identify it. If I ...
0
votes
0answers
85 views

Rremote setup of cygwin's sshd

OK.. This is a catch 22.. you want to get cygwin's ssh server up and running so that you can get remote access to a machine.. In my case, lots of machines. However, now you have to remote install ...
0
votes
0answers
280 views

cygwin/minTTY reads odd signal from delete key

So this is an odd situation, especially since this is the (at least) third time I've installed Cygwin in a similar setup, and I've never seen this behavior before. My setup: Windows 7; Cygwin, with ...
0
votes
0answers
483 views

How to politely kill windows process from cygwin

I do have a bat(startJboss.bat) file that starts a JBoss server. When I start it it creates an output to standard cmd (windows) console. When I want to politely end this process I just hit Ctrl + C ...
0
votes
0answers
937 views

Configuring OpenSSH for Windows in Cygwin - can't leave blank password

I install OpenSSH in Cygwin under Windows 7 to install Hadoop. I had OpenSSH installed previously, but with a password. All attempts to remove password are failed, so I re-installed Cygwin. I want ...
0
votes
0answers
365 views

execute windows programs from cygwin terminal?

How can I use my cygwin terminal on Windows 7 to execute Windows programs as I would normally do using the Windows cmd terminal? It seems like there are programs that only work when executed from the ...
0
votes
0answers
223 views

Why are tasklist results different when run locally vs over ssh

I have a windows box setup with cygwin and an ssh server that has been working fine, however today I came across a command I am trying to use that returns different results based on whether it is used ...
0
votes
0answers
39 views

CygWin installation not completing

I am trying to install cygwin on my windows machine. It has passed nearly 5 hours.But installation not competed. Installation progress shows values exceed 100%. Is this the behavior of this or is this ...
0
votes
0answers
405 views

Windows attrib command changes file timestamp

I have some batch file running that does the following on a directory tree with several thousand files: change file attributes, turn OFF readonly do some stuff, add new files. change file ...
0
votes
0answers
333 views

icarus verilog on windows7

I used to work with iverilog on win-xp. But ever since I moved to win7, it does not work. And I am not even using GTK, I just want a plain simulation to run. I have used different versions of iverilog ...
0
votes
0answers
383 views

how to uninstall packages (mpich2) from cygwin without using setup.exe

I have installed in cygwin (w7) a mpich2-1.2.1p1 package (configure, make, make install), now I would like to uninstall it, I have looked through the web, but I did not find any solution, can you ...
0
votes
0answers
179 views

How does rsync (in Cygwin) decide what sharing permissions to apply to a copied file?

I have an XP machine with Cygwin installed. Every night my Android phone connects to rsync on the PC and backs up my phone's pictures. This process is working smoothly, and has been for over a year. ...
0
votes
0answers
688 views

Cygwin not operating after new package install?

I installed wget package through setup.exe on my existing Cygwin installation. But the problem is, after rebooting and opening Cygwin, it's not functioning properly. Some simple commands like ls, man, ...
0
votes
0answers
949 views

Shell script to copy a text file from windows machine to linux based device

A linux based navigation device is connected with my windows machine. I want to copy a text file to root of device using shell script from windows machine(through cygwin or putty). please help. ...
0
votes
0answers
374 views

Error running gcc on cygwin (bad adress)

I'm trying to get gcc running on cygwin. Whenever I launch it, I get the error: $ gcc a1.c gcc: installation problem, cannot exec '/usr/lib/gcc/i686-pc-cygwin/3.4.4/cc1.exe': Bad address gcc: ...
0
votes
0answers
70 views

Why are some Cygwin packages' sources ALWAYS pending?

Every so often I run Cygwin's setup.exe and click "Install" for the "All" category. However, when I change the view to show "Pending", about seventy-five packages' sources are always checked to ...
0
votes
0answers
1k views

Problem with makefile in Cygwin

I have installed Cygwin. My problem is when I try to run a makefile which contains a line gcc -g -c file.c I get an error: Fatal: Unable to execute command: gcc At the same time when running ...