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

learn more… | top users | synonyms

0
votes
1answer
13 views

java function does not work in cygwin

I'm trying to run a series of programs in Cygwin, but I'm pretty new to this kind of thing. My current dilemma is running a java file. My input and the error is below. Gaius@Ellislab2015 ...
2
votes
1answer
504 views

Mirroring with wget - Exclude old files

I am using wget to mirror an ftp file-archive. This is my command: wget -m $mirror (Stripped all unneccessary parameters) So far, everything is okay, all differences to the online archive will be ...
1
vote
0answers
19 views

Installation Root (Cern) v6.00.02 with Cygwin

I have installed Root (Cern). Before calling "root" it is necessary starting the X server (by Cygwin, typing "startx"), to allow Root to use Windows. By "setup-x86_64.exe" I installed Cygwin ...
0
votes
2answers
352 views

cygwin: ~ != $HOME

When I start cygwin, my ~ dir is the same as $HOME. After some time, ~ dir changs, while $HOME stays the same. I am puzzled by this, not sure where to look. Maybe someone experienced this, or has some ...
15
votes
5answers
6k views

Cygwin bash prompt is wrapping lines on the same line

I'm using Cygwin bash prompt, and for long commands the text will wrap around on the same line as opposed to going to the next line despite setting my PS1 to simply ' $'. Here's a screenshot,
2
votes
2answers
3k views

How can I make Cygwin open a new window each time I use a Windows 7 keyboard shortcut?

[Update: The short answer is, if an application is the third thing on your taskbar, press WindowsKey+Shift+3 to open a new instance. Hooray!] I have Chrome and Cygwin on my taskbar. Chrome's ...
0
votes
3answers
1k views

Adding cygwin on right click on windows explorer

I wish to add a command on right click menu in explorer that opens current directory with cygwin. For same I have successfully added these registries: ...
0
votes
0answers
18 views

rsync is missing files

I'm trying to get rsync working between Win7/cygwin source and CentOS 7 VM destination. My command: rsync --dry-run -r -a -v -i -h -x --ignore-times --checksum --progress --delete --delete-before ...
12
votes
3answers
4k views

cygwin + mintty + vim backspace problem

I have installed vim, mintty via cywin on XP. The problem is when I try to hit backspace in VIM edit mode, the cursor move back a character instead of wiping the previous char. How can I tweak this ...
1
vote
0answers
14 views

SCP connections mysteriously drop; too many connections?

I am running OpenSSH via Cygwin on a Windows 2008 server. This system acts as a file server for a pool of 30 build systems. At build time, each build system copies files as necessary from the file ...
0
votes
1answer
13 views

Connect to shared drive from Emacs on Windows 7

I am using emacs-w32.exe, invoked from Cygwin, on a Windows 7 machine. I'm trying to connect to a shared drive that I can otherwise access and write to (e.g., by using the Windows explorer), but I am ...
1
vote
0answers
24 views

What are potential problems of running cygwin programs outside of cygwin? [closed]

So, silly question: I want to use Taskwarrior (a commandline todo-list manager), but on windows it looks like my only option is Cygwin. No big deal, but I don't really want to switch back and forth ...
1
vote
1answer
637 views

Is there a way to configure cygstart.exe?

As I understand, cygstart associates its argument with the windows standard program set for that case. But I want to behave my cygwin different than its host in certain cases. E.g. alias ...
1
vote
2answers
3k 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 ...
5
votes
4answers
4k views

Best way to get 'linux command line tools' on Windows [closed]

I'd like to download the basic stuff like 'rm -rf'. I used to just download cygwin, but are binutils or some other alternative better (if all I need are the truely basic stuff ... I'm trying to think ...
0
votes
1answer
25 views

Running Cygwin Screen as a standalone program?

Would it be possible to separate Screen from Cygwin, and run it without running Cygwin first? If not, are there any alternatives to screen on Windows?
0
votes
1answer
48 views

Tool(s) “patch” is(are) missed, please install it(them)

I am using xampp in Windows 8. I want to install magento security patches in local magetno. To run command I have install Cvgdrive but when I run the following command I am getting an error. bash ...
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 ...
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 ...
2
votes
1answer
514 views

Running .bat file on cygwin CLI without the .bat extension

I have been looking for a way to run dos batch files from the cygwin command line without having the enter the extension. Would that be possible? Currently, I have to enter the extension otherwise ...
3
votes
1answer
633 views

Error while installing Perl package Term::ReadKey in Cygwin

I'm trying to use git via cygwin Well, I used this command to clone the svn content to a local git repository: git svn clone svn://path/to/my/project --username myuser Git was returning: ...
2
votes
3answers
527 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 ...
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 ...
1
vote
5answers
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.
6
votes
4answers
8k views

How to kill a windows process in a cygwin terminal?

I have a problem regarding how to kill a process in Cygwin on Windows. I am completely new to Cygwin. But I have a task that I simply cant kill. I have tried issuing the following commands: kill 4568 ...
15
votes
5answers
10k views

Using git through cygwin on windows 8

I've got a windows 8 dev preview (not sure if it's relevant, but I never had this hassle on w7) machine and I'm trying to clone a git repo from github. The problem is that my ~/.ssh/id_rsa has 440 ...
0
votes
0answers
8 views

Netbeans 8.0.2 will not compile code [migrated]

I have a problem with my Netbeans, not compiling any kind of Code for example: #include <stdio.h> #include <stdlib.h> /* * */ int main(int argc, char** argv) { printf("hello ...
-1
votes
1answer
15 views

Cygwin Bash Script?

I have no real clue about linux, but need a simple script to copy what I manually do 1. Open Cygwin 2. Type a directory name (micros) 3. Type a command (reload) That's it...I just can't get it to ...
0
votes
1answer
25 views

Run .sh in cygwin script from cmd

I have a .bat script that calls some .exe to generate text files: generate.bat: ... ResGen main.txt Main.resources /str:c# ... After that, I want to use vim's commandline search/replace on the ...
1
vote
2answers
954 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
194 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
122 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
555 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
6k 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
62 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
53 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
65 views

Installing GNU Parallel on Cygwin [closed]

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
64 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
585 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
216 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
2k 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
10 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
64 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 ...
0
votes
2answers
428 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
52 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
253 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
12k 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 ...