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

learn more… | top users | synonyms

0
votes
2answers
62 views

Cygwin dd of='\\.\PhysicalDrive0' Invalid argument

I'm trying to copy my hard drive. unxutils dd that used to work before, now doesn't. So I'm trying the Cygwin version. It reads just fine, but can't open for writing: $ dd if='\\.\PhysicalDrive0' ...
0
votes
0answers
60 views

Cygwin SSH Server on Azure Windows Server 2012 R2 VM giving errors

No matter what I am not able to connect to cygwin ssh server configured on Windows Server 2012 R2 Azure VM. Locally it sometimes work sometimes not. Remotely it never works. Sometimes the error ...
1
vote
2answers
136 views

How do I get Linux commands and scripts to work on Cygwin?

I'm back with a follow up question. How do I get Linux commands to work on Cygwin? First I asked you what tool should I use to help me run my Linux scripts on Windows and you suggested Cygwin and I ...
3
votes
2answers
107 views

install rename command in cygwin

In linux exist the rename command, for rename a set of files with regular expresions. rename 's/prefix_//' *.jpg if I search in the cygwin package I find the renameutils package, but this don't ...
0
votes
0answers
9 views

How can I use rss2email with sendmail under Cygwin?

I'm trying to run rss2email under Cygwin, having it send the mails from the local machine (not from an SMTP server). Originally, I got the error that the sendmail command could not be run. I did some ...
1
vote
0answers
28 views

cygstart --directory switch is ignored when using --action=runas

It seems the --directory switch is ineffective when used with --action=runas when using cygstart. For example: cygstart --action=runas --directory=`cygpath -wa $PWD` cmd.exe /k dir The expected ...
0
votes
1answer
12 views

XWin headers and libraries (devel) path in Cygwin

What is the path of the XWin headers and libraries (Devel) in Cygwin?
0
votes
1answer
69 views

how to view hidden files on an NTFS drive that were copied from a Mac?

I have some files on my external NTFS drive that were copied from a Mac using Paragon NTFS. Back in Windows 7, I'm unable to view said files. I believe they exist because they still occupy space on ...
0
votes
0answers
13 views

Remove Windows link associations from recursively linked files (created by mistake)

So, because of Windows' bone-headed reverse syntax and the generally piss-poor command line utilities, I accidentally created several hundred recursive links on files in many directories and nested ...
2
votes
1answer
55 views

SSH: can connect to computers on local network but cant connect remotely

I have 3 computers running ssh server on them: PC1 is running Cygwin on Windows PC2 is also running Cygwin on Windows PC3 is running Linux and they are on the same network connected to same ...
0
votes
1answer
46 views

SSH into dual boot computer

So as is usual I have a dual boot Kubunutu / Windows 7 box (with cygwin), at certain static IP of local 192.168.0.x range, and I want to SSH to it from my other boxes regardless of which system it's ...
0
votes
2answers
342 views

How can I Install Tmux in Cygwin?

I'm trying to install Tmux under a Cygwin 64-bit installation on Windows 7 64-bit. I'm following these instructions: http://java.ociweb.com/mark/programming/tmuxInCygwin.html I successfully compiled ...
2
votes
1answer
93 views

How to encrypt my everchaging files for Dropbox while keeping them decrypted locally? [closed]

I would like to encrypt my files for outside use (e.g. for Dropbox), but keep them unencrypted on my hard drive (for instance, to be accessible by indexing and other 3rd party software). Similar to ...
1
vote
0answers
103 views

rsync error: symlink has no referent

I am trying to configure rsnapshot (which uses rsync) to backup a Windows server but I am having trouble with rsync being unable to follow a symlink on the server to be backed up. Setup: Windows ...
1
vote
0answers
64 views

Is Cygwin the easiest way to learn about UNIX/LINUX without dual-booting Linux on Windows Machine? [closed]

As the title suggests, I have installed cygwin on my Windows machine in order to try and learn about UNIX shells and kernels, and how to interact with them. I know that it is pseudo UNIX/LINUX as the ...
1
vote
0answers
34 views

Don't Answer Please: Windows 7 64 bit Cygwin Network Drive Mounting

I'm best described as a ferverish fumbler rather than some sort of expert. However, I have been around the block a few times. I've just realised that in my new place of employment, my Windows 7 64 ...
0
votes
1answer
83 views

Installing Gunicorn using Cygwin

How can I install Gunicorn using Cygwin? I can't seem to find the Gunicorn Package on Cygwin...Unless I'm understanding the issue on github wrong, I think it does support Gunicorn. Also I found this ...
0
votes
1answer
28 views

Compiling Opensmmpbox in Cygwin for windows service

Need a opensmppbox as a windows service so i try to compile it under cygwin...get this error: /usr/lib/gcc/i686-pc-cygwin/4.8.2/../../../../i686-pc-cygwin/bin/ld: cannot find -lwap ...
0
votes
1answer
104 views

Weechat with the beep script is not making sounds

I had a friend help me configure weechat-curses, version 0.4.2 in Cygwin. Got to where I wanted to set a custom sound for highlights with beep.pl. I set the command to run on highlight to cat ...
0
votes
0answers
38 views

How to stop ssh (via cygwin) from hanging on server disconnect/timeout

Scenario: ssh user@host # good connection, do some work... # stop working, the server has some function where it automatically disconnects ... # I come back to my cygwin window and it is unresponsive ...
0
votes
0answers
62 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
27 views

cURL POST on cygwin64 blocks for minutes

This curl command blocks for two and a half minutes and then finally executes. There is no activity on the Tomcat server during this time. curl -i -H "Content-type: application/json" -X POST ...
0
votes
1answer
61 views

Why some programs cannot receive the output of children processes?

Some programs don't display output of some children processes. As you can see , I tried to run php --version in three console utilities: Git Bash (MinGw), native Windows 8 command line and Cygwin ...
3
votes
1answer
109 views

How do I use 'whois' on cygwin?

I've just installed the whois package on cygwin. Its description is GNU Whois, I'm assuming it refers to jwhois? I'm thinking the package is completely broken, but just in case I'm doing something ...
1
vote
0answers
31 views

Why can I remove certain files in Cygwin but not Command Prompt?

I have a folder that contains files I have compiled in .NET (however this question could easily apply to a non-programmer's folder too, e.g. containing word documents or whatever.) When I try to ...
0
votes
1answer
51 views

iconv doesn't properly generate ascii

I have the following: $ file DailyFollowUp.csv DailyFollowUp.csv: Little-endian UTF-16 Unicode text, with very long lines, with CRLF, CR line terminators $ iconv -c -t ascii DailyFollowUp.csv > ...
0
votes
1answer
69 views

change directory to network drive in Cygwin

I have a new wireless router in my home and have a 3 TB drive hooked up to it. I would like to write a backup script in cygwin which will copy over any changed files to the external HD. For starters, ...
0
votes
1answer
56 views

how to set default working directory in vim and cygwin?

My system is gvim 7.4+xp+cygwin. Everytime i open vim or cygwin,input pwd pwd in cygwin to get : /cygdrive/c/Documents and Settings/sy I want to set the default directory ...
1
vote
1answer
43 views

Cygwin - gcc does not find include files

When compiling LLVM 3.3 under Cygwin, g++ does not find the appropriate header files, although they are surely present. $ make --trace g++ -I/cygdrive/c/llvm-3.3.src/include ...
0
votes
0answers
169 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
2answers
1k views

WGET Command Not Working in Cygwin

I'm using Cygwin on Windows because some commands in Windows's CMD are not working but working on terminal of OS X and Linux. When I type the wget command and URL, it says command not found. Is there ...
1
vote
1answer
60 views

Send HTTP request to website with password and username, then record results

I need to record certain numbers (temperature and others) from a web-based monitoring service (LaCrosse Alerts). However, you must login to use this service. I have an account, and am starting to ...
0
votes
1answer
85 views

how to call .R script using .sh in windows

I have an analysis to run in skatMeta (R package). I received a runscript.sh that calls myfile.R to run the analysis. However, the script is written for Linux, but I only have Windows. I installed ...
0
votes
0answers
51 views

how to choose the proper find.exe?

There are multiple find.exes upon my pc, C:\Documents and Settings\sanya>dir c:\find.exe /s/b c:\cygwin\bin\find.exe c:\WINDOWS\system32\find.exe c:\WINDOWS\system32\dllcache\find.exe ...
0
votes
2answers
49 views

grep command in cygwin can't use chinese character

I find that the grep command in cygwin can't use chinese characters, how can i fix this? I create a file named test.txt, which contains a chinese character "圣诞节" (meaning of christmas). grep ...
0
votes
0answers
22 views

Prevent user from linking our elf files other than our eclipse product

We have developed eclipse product based on Eclipse CDT. User simply writes code in C. It is compiled and linked with our custom elf files. We want to prevent user from linking user's C code with our ...
1
vote
1answer
72 views

Search command history in Console2 that mimics CTRL+R from cygwin

I am trying to use Cygwin inside of Console2 (for the tabs). However, I use CTRL+R to search my command history in a fuzzyish way, a lot. In Console2, CTRL+R is a hot key for renaming the tab. I ...
0
votes
1answer
79 views

cygwin sshd.exe & service randomly hang after a few days

I have cygwin and sshd installed, latest versions as of last month, on a Win7 Pro 64-bit box. I can ssh in from a Linux box no trouble. (It's identical to a setup I have on a Windows 2003 Server box ...
3
votes
0answers
63 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 ...
0
votes
1answer
206 views

Are clang and llvm no longer maintained in cygwin?

I cannot find binaries for clang or llvm using cygwin's setup.exe. Are they no longer maintained?
0
votes
0answers
138 views

How to compile clang on cygwin

When I compile clang under cygwin, there is always numbers of errors after this: llvm[2]: Linking Debug+Asserts executable lli collect2: error: ld returned 1 exit status ...
2
votes
1answer
101 views

BSD fortune for Windows command prompt or DOS

This is probably a stupid question, but I was just wondering if the following is doable: If I should just forget about it and go the VM/ full GNU-Linux OS route, that's fine.After mucking about with ...
1
vote
1answer
67 views

Add commands auto completion to Cygwin

I'm looking for a 'modernized' cmd.exe and I find myself quite comfortable with Cygwin. However, I can't make Cygwin auto complete some "commands" I need (programs in SysInternal Suite like ...
0
votes
0answers
60 views

How to properly use SCP to copy from remote to local?

I am trying to copy a file from a remote windows machine onto a local linux machine, but cannot seem to get the syntax right. For some reason, whenever I use SCP, it is just creating a new local copy ...
1
vote
0answers
106 views

Default permission for new file cygwin on Windows 7

I am using cygwin on Windows 7 professional. When I create new files such as MyNewFile.java it seems to get default permission set to 755. This is not what I want. I want it to be 644 for regular ...
0
votes
0answers
40 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 ...
1
vote
0answers
60 views

Trying to bind <ESC> to keysequence “öö” in bash vi mode

I am trying to use the german umlaut "ö" in a sequence "öö" as a binding for ESC. Having the following in my .inputrc does the job with "jj" instead of "öö"; however, when changing "jj" to "öö", it ...
0
votes
1answer
186 views

Error when executing .sh file on Windows 8 using Cygwin

I am beginner of Cygwin terminal. I am trying to run *.sh file on Windows 8 using the command ./file_name.sh, but it gives the error shown below. Using prebuilt externals ERROR: Cannot find ...
0
votes
0answers
37 views

How to add additional charsets to libiconv in Cygwin

My problem is, that I sometimes have to convert files in the ISO646-DE-encoding (for german authorities... Don't ask...). On each linux-system that I used iconv -f ISO8859-1 -t ISO646-DE worked ...
0
votes
0answers
216 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 | ...