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

learn more… | top users | synonyms

0
votes
0answers
121 views

cygwin-x applications not starting

After installing Cygxin-X, X applications won't run: $ xman /usr/bin/xman.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory $ xcalc ...
0
votes
0answers
28 views

Running script and restarting it when folder changes

The software I'm currently developing in is using Python and a windows binary that needs to be restarted everytime I change the Python code. Basic flow: Folder changed? Yes: Stop the command, ...
0
votes
0answers
74 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
2answers
48 views

Running cygwin chere in mintty

Whenever I use chere's "Bash Prompt Here", the bash prompt runs in Window's cmd.exe. Is there a way to have it directly run mintty in the directory, instead of just cmd.exe with bash?
0
votes
1answer
59 views

remove 'Starting /bin/bash.exe' on cygwin chere

Is there a away to remove Starting /bin/bash.exe when right clicking Bash Prompt Here.
0
votes
1answer
64 views

Cygwin: man no longer works

I have cygwin installed in the default folder (C:\cygwin) on Windows 7 Pro. Up until a few months ago (not sure how long), man pages worked fine. Then came an update, and now man anything displays ...
2
votes
1answer
58 views

Cygwin: Does it peacefully coexist with normal Windows operation?

I would like to install cygwin, primarily to run gcc and associated tool chain, but before doing so, I'd like to have a heads-up on ways in which installing Cygwin changes the operation of Windows (or ...
3
votes
3answers
316 views

What is the `[` command? [duplicate]

I have seen both in Cygwin and in Linux the [ command under /bin. Whenever I run it I get an error saying: missing ]. I never understood what this command does, I just one day found it wanted to ...
1
vote
1answer
85 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
100 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
41 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
89 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
67 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
109 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
79 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
65 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
43 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
74 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
55 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
169 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
104 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
132 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
251 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
87 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
233 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
140 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
244 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
461 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
649 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
189 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
337 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
81 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
73 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
1k 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
125 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
238 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
117 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
50 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
225 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
45 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
189 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
191 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
123 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
55 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
103 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
246 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
40 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 ...