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

learn more… | top users | synonyms

1
vote
1answer
75 views

How can I maintain ssh connection from my Windows laptop to Ubuntu desktop

I need to ssh from Windows laptop to my Ubuntu desktop. So at work I in cygwin , I ssh to Ubuntu desktop. But at home, I need to login to VPN and I need to re-ssh to ubuntu desktop. And some times at ...
0
votes
1answer
87 views

Find & du to calculate total size vs xargs

Can someone confirm that the following one liner will produce the total human readable size of all the directories which FIND locates as having log in the name? find -type d -name *log* | du -hcs
0
votes
0answers
39 views

Reverse SSH between putty and cygwin to RDP

I realize that many different iterations of this question have been asked before, but I couldn't find something exact and my attempts didn't work. My setup: I'm trying to RDP from Machine B to ...
1
vote
0answers
74 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 ...
1
vote
1answer
64 views

Are there any drawbacks when replacing Windows' functions with Cygwin's in the PATH?

Cygwin allows executing shell scripts on Windows and many more. Some functions conflict with the Windows Shell's functions. Does the following hint lead to any disadvantages when using Windows ...
1
vote
1answer
89 views

How can I run a Cygwin command (not a Windows native command) as privileged?

If I open a (elevated via UAC) Bash Shell in CygWin: Luis@Kenobi /cygdrive/c/Windows/system32 $ crontab.exe -l -u Luisito must be privileged to use -u Tested on WinXP-SP3 and Win7-SP1. Same results ...
0
votes
1answer
60 views

How can I select what user account will run a Windows service (run as) from command-line?

As one of the steps for installing CRON daemon for CygWin in Windows, it is worthful (not mandatory on WinXP, but seems to be greatly adviced since Win7) to change (along with some others ...
1
vote
1answer
58 views

Odd Cygwin issue when having an alias in my .inputrc file

When adding some aliass to .inputrc I noticed my 'a' key wasn't working on my keyboard when using Cygwin Bash. Took out all my alias and my 'a' key started working again. For testing I stripped down ...
0
votes
1answer
40 views

Cygwin “find” returns nothing

This command returns nothing in Cygwin running on Windows Server 2008 r2: /usr/bin/find / I get a slight pause, but no text is returned. No error, no results, etc. I've tried with different search ...
0
votes
2answers
66 views

Can I use Cygwin via ssh without logging into Windows account for first time?

When creating a new Windows 8.1 user account, you normally have to logout your current account and log back in as the new user. When this happens Windows start setting up your home directory and does ...
0
votes
1answer
47 views

Building gstreamer 0.10 under Win32 via Cygwin

There is no more installer for GStreamer 0.10 available on GStreamer website (only versions 1.x). I really need to work with this version so I tried to build it from source. I found this laconic page ...
1
vote
0answers
133 views

Can I use a password ssh login on a passwordless windows 8.1 account? (Cygwin)

I recently installed Cygwin + OpenSSH (package) on Windows 8.1. However, I'm only using one passwordless Windows account on that machine, but I would like to login with SSH remotely with password (for ...
0
votes
0answers
84 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
1answer
110 views

CygWin terminal in remote console (SSH) not starting at correct $HOME path

I have installed CygWin v1.7.28. The problem quickly explained: Basically, when starting a CygWin shell via remote login, the $HOME is not where it should, with all derivated (bad) consequences of ...
2
votes
0answers
180 views

Running cron on Cygwin to call notifu

I have installed Cygwin with cygrunsrv and Cron so I could use the benefits of using Linux-style scheduling in Windows. I want to call notifu from a cron job. I Installed cron as a service using the ...
0
votes
1answer
68 views

Split-Screen Between Shell and X-Windows in Cygwin

Is there a way to split the screen between a program running through the X-server and a standard text-based terminal? I am operating under Cygwin under Windows. The solution should be as ...
1
vote
1answer
199 views

Running a CygWin shell: what windows console (DOS) commands do disappear?

If under my Windows with CygWin (v2.831 32bits) I do: cmd mode 80,50 the screen width changes, but if I open a CygWin terminal, like bash: C:\cygwin\bin\bash --login -i $ mode 80,50 bash: ...
0
votes
2answers
128 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
197 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
409 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
576 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
12 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
146 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
14 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
251 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
22 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
77 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
66 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 ...
1
vote
2answers
956 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
117 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
199 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
101 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
48 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
192 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
44 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
177 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 ...
1
vote
1answer
152 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
108 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
52 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
98 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
227 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
39 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
78 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
213 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
122 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
60 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
281 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
4k 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
103 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
126 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 ...