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

learn more… | top users | synonyms

1
vote
2answers
931 views

Cygwin netcat nc doesn't resolve hosts through /etc/hosts

I'm trying to use ssh to log into remote servers, and I have a ProxyCommand setup in ~/.ssh/config to use a proxy (setup through PuTTY to connect to a VPN). The ProxyCommand uses nc to connect ...
0
votes
1answer
192 views

Can you get rid of file extensions for bash commands in cygwin?

I've just started messing around with cygwin. I've noticed when use the tab auto-complete feature for commands it always adds a '.exe' even though one isn't needed to run the command. Is there a way ...
1
vote
1answer
108 views

Cygwin+KiTTYCyg: /bin/sh: No such file or directory

Trying to use KiTTY with Cygwin (x86) on Windows 7 x64. Installed latest Cygwin and all needed packages. Added ;c:\cygwin\usr\local\bin\;c:\cygwin\bin to system Path env. Downloaded KiTTYCyg for ...
1
vote
1answer
4k views

How do I install gfortran (via cygwin and etexteditor) and enable ifort under Windows XP?

I'm a newbie in the Unix world so all this is a little confusing to me. I'm having trouble compiling some Fortran files under Cygwin on Windows XP. Here's what I've done so far: Installed the e ...
5
votes
3answers
5k views

how to install squid 3.3 on windows

I want to run squid 3.3 on windows. The site http://squid.acmeconsulting.it/ seems out of date (latest files are 2010). How can I install squid?
5
votes
2answers
185 views

Mounting a directory from the host in boot2docker for Windows

I'm running docker 1.6 and boot2docker on a Windows 8.1 box. When I use the Boot2Docker Start shortcut, it takes me to a cygwin bash prompt where I can run docker commands natively. I'm having ...
0
votes
2answers
5k views

How to move files to hdfs in hadoop using unix command

I have 2 directories "dft" and "hdfs" in the unpacked Hadoop folder. I am trying to copy the file(StartUnit.txt) in dft into hdfs. The corresponding command and exception are as shown below ...
1
vote
2answers
27 views

Run .sh file on double click on Windows with Cygwin

I created a .sh script file on my Windows machine. I'd like to run it on double click. If I open up the Cygwin Terminal and start it manually with the “sh” command it runs without problems. When I ...
0
votes
1answer
49 views

I added a simple socket perl server script under Cygwin Xinetd to echo client input but it reads blank instead

I installed a x32 version 1.7.33 of Cygwin on my x64 Windows7 machine. I added a new service under /etc/xinetd.d/ccapi. $ cat ccapi-stream service ccapi { id = ccapi-stream disable = ...
1
vote
1answer
28 views

Installing GNU Parallel on Cygwin [on hold]

Is this possible? I have googled and searched at length and found no answer to this question. How can I install GNU Parallel on Cygwin? I wish to run a command similar to this : Link Thanks.
0
votes
1answer
56 views

Cygwin not reading config file

I have a fresh installation of Cygwin and I created a config file (just as I had in my old installation) with the info to connect to ssh to some hosts. Now in this new fresh installation I have to ...
0
votes
2answers
579 views

Pseudo- Sudo on Cygwin/bash

I need sudo to work, well not sudo itself but a way of allowing the sudo commands to work as described here. This would be great however the sudo lines have extra arguments, like : sudo -u user bash ...
1
vote
1answer
204 views

Rsync incredibly slow in Cygwin - am I doing something wrong?

I am trying to back up my C: and D: drives (each 1 TB, C: has around 210 GB of data on it, D: has around 345 GB on it) onto a 3 TB external HDD using Cygwin in Windows 8. I am doing this with ...
6
votes
4answers
1k views

How to check if cygwin mintty/bash is run as administrator?

Problem Statement: What is the most elegant and robust way to test if Cygwin mintty bash session is "Run as adminstrator"? Why, specifically? I have typically several mintty terminals open when using ...
1
vote
1answer
9 views

Cygwin shell add context menu item

There's this question on SO: http://stackoverflow.com/questions/9637601/open-cygwin-at-a-specific-folder I want to do something opposite. When using terminal I want to right click and have context ...
0
votes
1answer
28 views

Shortcut to run mintty.exe with ConEmu

I'm trying to create a shortcut to start Cygwin's mintty.exe (logged in with default config) in ConEmu. The only way I was able to start mintty inside ConEmu via shortcut was by defining the ...
2
votes
2answers
395 views

Cygwin Terminal backspace and arrow keys not working

The arrow keys returns A,B,C,D and my backspace key are not working properly . This problem happens only with the vi editor.Is there any way to solve this issue on Cygwin ? I did find possible ...
0
votes
2answers
400 views

How to install Cygserver

I'm programming in UNIX, so I'm using Cygwin. But functions of IPC does not work on it, just in Cygserver. How can I install it? I'm looked in google and did not find any concrete information. Thanks ...
0
votes
1answer
40 views

Modifying wget permissions and download directories on Cygwin

I have Cygwin installed on my Windows 7 64 bit PC and I often download large files using wget. wget, however, saves all files with permissions that forbid me from executing the files when they're ...
2
votes
1answer
251 views

Multi-term in Emacs under Cygwin doesn't correctly identify terminal type?

I've installed Cygwin on Windows 7 Ultimate 64-bit. After a rebaseall, Cygwin works nicely. However, I use multi-term in my default Emacs setup, and multi-term doesn't seem to like Cygwin at all. It ...
1
vote
1answer
1k views

How do I delete a file with invalid characters in Windows 8.1 (not even Cygwin helps)

After a problem I've encountered with the Windows 8 Store I had to delete a system folder. Unfortunately, inside it there's a file with invalid characters (filename as it's displayed via ls or dir): ...
23
votes
5answers
11k views

How do I configure ConEmu to run Cygwin Bash?

I created a new task {Bash} passed my home directory /dir "C:\Users\TMB\" and added bash as an application C:\cygwin\bin\bash.exe When I open Bash, it is unable to use the basic ...
1
vote
0answers
30 views

Is it possible to install llvmlite Python package on Cygwin?

When trying to install llvmlite Python package on cygwin, I get the following errors: $ pip install llvmlite Downloading/unpacking llvmlite Downloading llvmlite-0.4.0.tar.gz (69kB): 69kB downloaded ...
1
vote
1answer
24 views

Can't find the good Cygwin shell executable

I am working on Windows 7 and I need Cygwin for my project. I am trying to launch the Cygwin terminal from a Java programm and then write command lines but my problem is that I can't find the right ...
1
vote
0answers
42 views

Libpcap on Cygwin

I recently installed Cygwin, and while trying to get Reaver onto it I got the following error: pcap library not found!. Although I think Cygwin is a terrifically useful tool, I'm still not used to not ...
0
votes
1answer
49 views

How to use cygstart when using run.exe in Cygwin

I'd prefer to use emacs as a shortcut directly by using run.exe, but when I open it that way, I lose access to cygstart when I try to do things like open web links (etc). Is there some way to get ...
0
votes
0answers
9 views

How can I change audio volume from cygwin? [duplicate]

I have a media box running Windows 7 (with cygwin ssh) playing some random music, and I'm in the other room with another laptop. Is there any way I can ssh there to adjust the volume, or do I need to ...
0
votes
2answers
2k views

start X window applications with Cygwin+Xming or CygwinX on Windows 7 64-bit?

I followed the instructions from previous posts on superuser to try and install cygwin including xorg-server as well as trying the alternative of bringing up X windows using Xming (including setting ...
-2
votes
3answers
740 views

How to run apache server if it not already running

I wonder if it is possible to check whether or not apache2 is running. If it is not running I want to execute it using shellscript Currently I have added a function which I named run_apache which ...
0
votes
1answer
19 views

Undo setfacl changes

Using Cygwin in a virtual machine, I ran this command setfacl --remove-all /cygdrive/c After that I noticed this message: C:\ is not accessible. Access is denied. I undid this change by ...
2
votes
1answer
3k views

Cygwin fstab - what am I doing wrong?

I'm trying to automount my Windows home directory over my Cygwin home directory. If I run the mount command manually it works fine, but putting the mountpoint into /etc/fstab doesn't seem to work: $ ...
4
votes
3answers
2k views

Can't vagrant install a plugin: gem dependency fails despite being installed

I am attempting to install the vagrant-vbguest plugin in Windows 7 from within cygwin 64. $ vagrant plugin install vagrant-vbguest Installing the 'vagrant-vbguest' plugin. This can take a few ...
2
votes
2answers
1k views

How do I get the F1-F12 keys to switch screens in gnu screen in cygwin when connecting via SSH?

I'm connecting to a desktop running cygwin via SSH from the terminal app in Mac OS X. I have already started screen on the cygwin side and can connect to it over the SSH session. Furthermore, I have ...
3
votes
4answers
2k views

How to copy and paste between cygwin's vi/emacs and windows clipboard?

I tried to paste what I copied in windows clipboard into cygwin's vi or emacs, and it doesn't seem to work with yy (vi) or M-w (emacs). Is there a way to do it? I learned that /etc/clipboard has the ...
0
votes
0answers
12 views

rsync created directory permissions (Windows to Linux)

I am trying to rsync a directory from Windows (cygwin) to a Linux server. After googling a bit, I found out how to properly set the file permission of the remote files. However, the directory that is ...
1
vote
1answer
67 views

Putty->Cygwin X11 Forwarding “Can't open display” Error

I am using Putty on a Windows machine to ssh into another server. Once there, I am trying to use X11 forwarding to pop windows onto my computer. The remote system is not the issue since it is a large ...
1
vote
1answer
625 views

Is it possible to run GNOME 3 on Windows XP/Vista/7?

I want to install GNOME Shell and its core apps and features (including Natilus, Evolution, Empathy, Multiple workspace, and more) on a Windows 7 platform. Is it possible to do that with or without ...
1
vote
1answer
31 views

Clear console buffer in ConEmu with Cygwin

I've recently switched from using iterm in OSX to using Cygwin in ConEmu on Windows. One thing I'm really missing is the ability to completely clear the terminal buffer at any time using Alt+k. I've ...
1
vote
1answer
823 views

apt-cyg install return md5sum error

Since the last time I reinstall windows, and then cygwin, apt-cyg stops working. It keeps telling me "md5sum: standard input: no properly formatted MD5 checksum lines found". What could cause the ...
54
votes
6answers
21k views

Using Cygwin in Windows 8, chmod 600 does not work as expected?

I'm trying to change the the permissions to my key file key.pem in Cygwin 1.7.11. It has the permissions flags: -rw-rw---- chmod -c 600 key.pem Reports: mode of 'key.pem' changed from 0660 ...
0
votes
1answer
34 views

Mapping drive through ssh tunnel between Windows computers?

I have a Windows 7 computer that I use to acquire data and I want to be able to map it's C drive (or a folder in C and it's subfolders) in another Windows PC (using windows 8 now) to access it in ...
1
vote
4answers
2k views

How do I mount an NTFS image created by GNU NTFSclone on Windows?

How do I mount an NTFS image created by GNU NTFSclone on Windows? Neither the gnuwin32 version of NTFSclone nor Cygwin’s mount seem to be capable.
0
votes
1answer
28 views

Why is grep missing missing matches when searching multiple directories?

Trying to grep the files in several child directories, grep returns nothing. ~/box/raw $ grep ":2259\"" f*/hh*.adt ~/box/raw $ But when I descend into one of the child directories, grep finds a ...
12
votes
6answers
8k views

How to use Cygwin to copy an image from an SD memory card

Long story short, I'm working on a Windows 7 machine and I'd like to strip the image off an SD card (backing up the card from a Raspberry Pi). I'm trying to use Cygwin, but not having much success. ...
1
vote
1answer
8 views

Cygwin: during sed operation changes are not save

While I'm using sed I'm able to see correct results in terminal but in file changes are not visible. I used following comand: sed -e 's/MN2/MN9/g' 01_valid.txt on terminal screen I see changes in ...
1
vote
2answers
67 views

Midnigh Commander rendering fail in CygWin, Windows 8 and ConEmu (or Console)

I am trying to use alternate terminal emulator for CygWin in Windows 8.1 x64. I am trying to use [ConEmu] and [Console], but both of them fails in rendering of mc program. Is it fixable?
1
vote
2answers
2k views

How can I find files that have changed between certain times?

I have windows 7 box with cygwin installed. I have multiple folders with files, within a single root folder. I want to find the list of files that have a time stamp within a specific date time range.
2
votes
2answers
3k views

Cygwin OpenSSH closes immediately after a connection

Trying to connect to cygwin-sshd using putty or cygwin ssh on localhost, here is all I get. I have it working fine on a different Win7x64 machine but this one is proving hellish. Config files for ...
0
votes
1answer
50 views

“cannot create hard link X to Y: Operation not permitted” on ext2 drive from cygwin cp -al

/cygdrive/d/ is a USB hard disk formatted as ext2 and mounted with ext2fsd. When I try cp -al /cygdrive/d/X /cygdrive/d/Y where X is a file, I get the error in the title. Things I've Tried/Verified ...
-3
votes
2answers
78 views

CYGWIN on windows 2008R2

we have configured CYGWIN on windows 2008R2 and the services are started when we try to connect from outside to the server it is giving the below error. $ sftp 501226742@tnwp010457.psamer.ps.ge.com ...