Linux-like environment for Windows making it possible to port software running on POSIX systems (such as Linux, BSD, and Unix systems) to Windows.

learn more… | top users | synonyms

1
vote
2answers
18 views

Increasing stack size in 64 bit Cygwin? (installing ocaml)

I'm trying to set up an older version of ocaml, and I'm getting an error message that says that I need to increase my stack size. The only way I've found to do this in cygwin involves running an ...
6
votes
1answer
4k views

How to apply the fix for CVE-2014-6271 bash vulnerability on cygwin?

I would like to find out how do I apply the fix for this vulnerability on cygwin. I am running the CYGWIN_NT-6.1 MYHOSTNAME 1.7.30(0.272/5/3) 2014-05-23 10:36 x86_64 Cygwin of cygwin on Windows 7. ...
1
vote
1answer
25 views

File not found (cygwin on Windows)

Windows 7 TeX Live 2014 I am trying to install Minion Pro and Myriad Pro for the use with pdflatex. When I try to run the script in cygwin via name@pc-name /cygdrive/d/LaTeX/FontPro-master-Build01 ...
2
votes
2answers
31 views

cygwin, tail -F and rapidly filling/rotatinglogs

I'm using cygwin tail to follow busy java web application logs, on a windows server, generating roughly 16Gb worth of logs a day. I"m constrained to 10MB log sizes, so the files roll very often. ...
0
votes
1answer
972 views

Changing title without changing prompt on Cygwin

I have the following shell script function from this site that allows me to change the title in both Putty and Cygwin. In Putty connected to a Linux host it changes the title and leaves the prompt as ...
0
votes
1answer
25 views

What's with `-` in filename affecting sorting order depending on platform? [duplicate]

I just checked if contents of directory on my cygwin/Win7 development system, and test embedded platform running Linux+Busybox are the same. Simple, cat * | md5sum on both (RXVT/Bash on Cygwin, serial ...
1
vote
2answers
45 views

cygwin awk output to windows line delimeters

I could find the way to print zip entries' list and forward to a txt file. unzip -l my.zip | awk '{print $4}' > my.txt When I open the file my.txt in windows' notepad the line delimiters ignored ...
1
vote
3answers
2k views

Command-line tool to search docx files

Is there a command-line tool to text-search a docx file? I tried grep, but it doesn't work with docx even though it works fine with txt and xml files. I could convert the docx to txt first, but I'd ...
2
votes
1answer
95 views

mkdir with date function behaves differently in script

I am trying to create a directory with a timestamp. If I type at the prompt mkdir "$(date +%Y-%m-%d_%H%M%S)" I get a directory named with the date as I would like. If I put the same line in a bash ...
0
votes
2answers
900 views

why won't x11 display work through ssh login?

I have logged in to a remote server and am trying to display an x application(e.g. firefox). but an error message appears. the below are my attempts to open firefox Black@Black-PC ~ $ ssh -X ...
7
votes
4answers
265 views

Stopping output from a program run in SSH session NOW

Problem I execute command that outputs LOTS of information through SSH. For example, I foolishly add debug information inside a loop that executes million times, or just run cat /dev/urandom for ...
2
votes
1answer
332 views

Can't login to remote debian system with RSA key and ssh.exe from Cygwin

I need to login to a Debian server using ssh.exe from Cygwin. I've generated an RSA key and appended it to the authorized_keys file. Debian is OK, because I was able to use the RSA key using PuTTY ...
0
votes
0answers
61 views

Cygwin ssh X forwarding - “The system network services are not compatible with this version.”

I connect to Ubuntu system from windows system using Cygwin and putty with X forwarding. When I try to change Network settings in unity-control-center I get "The system network services are not ...
0
votes
1answer
295 views

Start and stop tomcat through ant script which is running in cygwin

I am trying to start and stop my tomcat through ant build.xml as follows, I am running the ant script in cygwin , i get the following error D:\build-cygwin-copy_converted.xml:53: Execute failed: ...
2
votes
0answers
62 views

Corrupt files after extracting with Cygwin's GNU tar

I have a bunch of tarball backups which I just restored onto my new Windows 8.1 + Cygwin system using GNU tar: zsh$ for file in **/*.tgz; do tar xvzf $file; done To my surprise a lot of these ...
0
votes
1answer
537 views

gcc produces erroneous “No such file or directory” under Cygwin

For demo purposes, here is my one line program test.c : #include <dbus/dbus.h> This is my makefile : INC = -I/usr/include/dbus-1.0 \ -I/usr/lib/dbus-1.0/include ...
1
vote
2answers
118 views

find command throws errors when inside function

I can run the following command in bash without any errors: $ find /d/Code/Web/Development/Source/ \( -name '*.cs' -o -name '*.cshtml' \) -exec grep -IH UserProfileModel {} \; I wrote a function in ...
0
votes
0answers
85 views

Can't start programs in Cygwin

I'm trying to start programs in Cygwin, which I want to run over ssh from my Fedora 20 laptop, I'm trying to run the programs within Cygwin not ssh and they don't run. The system is Windows 7 ...
1
vote
0answers
47 views

Cygwin serial tty device for high-numbered COM ports

My hardware enumerates as COM125 on the device manager (CDC-ACM class). But, I can't find it under /dev/tty* listing. Does cygwin have a limitation on CDC-ACM class of com ports or numbers greater ...
1
vote
1answer
72 views

understand the output of stty -a and change ctril backspace to just backspace

I am working in bash shell on a Solaris environment and whenever I type "backspace" it clears out the entire line. Do you have any suggestions for me to change the backspace clearing entire line to ...
1
vote
1answer
107 views

SSH tunnel to VNC on a Windows 7 system. Error: Tunnel device open failed

The system I'm trying to SSH from is Fedora 20 x86_64. The system tunneling to is Windows 7 Ultimate 32-bit and it has Cygwin installed with TigerVNC and OpenSSH. VNC is running on Windows 7 on port ...
1
vote
0answers
185 views

SSH to Windows 7 with cygwin openSSH freezes when remote conection [closed]

When I SSH into Windows 7(Cygwin) from a remote, the session freezes after few seconds or up to two minutes. This can happen while I'm typing and it can happen when idle. This is still happening after ...
2
votes
2answers
127 views

Linux Shell fundamentals: How can I check the file descriptors status, (where are redirected to) right now without lsof?

I am learning about file descriptors for the case of Linux, and I was wondering if there is any command showing a complete list that allows me to know where is each one redirected to in this moment. ...
9
votes
4answers
3k views

Cygwin has no watch command?

I installed Cygwin on my Windows XP to use some of its commands. Now I what to check a file every 2 minutes and want to use watch for this purpose but I see that Cygwin has no such command. Is this ...
0
votes
0answers
316 views

Dropbear SSH on Cygwin won't allow passwordless login

I am using Dropbear SSH running on Cygwin, on Windows 7, on a VMware virtual machine, on Windows 8.1. On my physical OS I have Cygwin and I am trying to get passwordless login using openssh on ...
0
votes
1answer
850 views

Failed to connect to dl.google.com port 443: Network is unreachable

$ curl -v https://dl.google.com/dl/cloudsdk/release/install_google_cloud_sdk.bash | bash * STATE: INIT => CONNECT handle 0x2001f130; line 1011 (connection #-5000) * Hostname was NOT found in DNS ...
4
votes
2answers
1k views

A terminal emulator for CygWin?

I have: Windows 7 CygWin A development board connected to COM1 port. I need: Connect to its serial port from CygWin. If I used Linux I would run a program like picocom or minicom. Also in ...
1
vote
0answers
149 views

Mutt is not able to send mail from Cygwin [closed]

I have installed mutt packages and when I tried to send mail to my email address I get the error here: mutt 4352 child_info_fork::abort: C:\cygwin\bin\cygdb-4.8.dll: Loaded to different address: ...
1
vote
3answers
1k views

How can we rename a file with semi-colon as part of the filename?

I tried to rename all file with extension "XLS;1" to "XLS" but it just didn't work. I tried the following in cygwin in windows xp and they don't work: mv *.XLS;1 *.XLS mv *.XLS\;1 *.XLS mv ...
3
votes
2answers
1k views

How to configure fonts on a remote X connection (XDMCP vs. ssh)?

Connecting to a remote Solaris 10 system over X11 I observe inconsistent behavior regarding the used fonts. I am connecting from a Cygwin/X system. When I connect using ssh forwarding like this $ ...
1
vote
1answer
93 views

truncate a log file to zero while another process is continuously writing to it

I'm trying to debug this horribly hacky little program and it's writing a trace of all emulated instructions to a logfile which has grown to 2.5 GB in 45 min. I've only got 800 MB free. Can I ...
1
vote
2answers
243 views

Cygwin - Shell Scripting (eval and echo)

I have the following file f1.txt: A=0 A=\`expr $A + 1\` and the following script file s1.sh for line in $(cat testfile.txt) do echo "$line" # eval $line done echo $A When I run the ...
1
vote
0answers
68 views

Cygwin DenyHosts daemon-control file: no such file or directory error

I have been trying to figure out this error and searched everywhere with no luck. I have installed DenyHosts on Cygwin and also the DenyHosts daemon but when I try to start the daemon by typing: ...
3
votes
1answer
161 views

Grep perl syntax and copyright character

I am trying to pull some links out of text that I downloaded of off the internet using grep, but keep getting "Aborted (core dumped)". When using grep I tend to use -P as I prefer to use perl syntax ...
1
vote
0answers
41 views

Shorewall “ERROR: Ordinary users may not start the /etc/shorewall configuration” in Cygwin

I am using Cygwin on Windows 7 and I have installed Shorewall 4.5.21.5. When I try to start shorewall in Cygwin, it gives me error: $ shorewall start ERROR: Ordinary users may not start the ...
2
votes
1answer
320 views

why updatedb command takes too much time?

I have read that to run locate command on CYGWIN first I need to run the following command. updatedb --localpaths=c:/ what this command exactly do as I run this on CYGWIN and it is taking too much ...
1
vote
0answers
76 views

ssh log sent to email in Cygwin

I am using Cygwin in Windows 7. I am trying to make my syslog-ng daemon send a ssh log via email to me when ever someone tries to log into my computer. I tried using the code below (entered into ...
3
votes
1answer
124 views

Read the files in shell script doesn't print out anything?

I am trying to read a file from shell script line by line. Below is my file content - hello=world And below is my shell script that I have written - #!/bin/bash while read -r line; do ...
0
votes
1answer
629 views

install-recursive Error while installing libLBFGS + cygwin

I am building binaries for CRFSuite in cygwin based on these instructions: In Linux environments, download the source package of libLBFGS, and build it. If you do not want to install libLBFGS into ...
1
vote
2answers
44 views

How to run bash on CYGWIN

I have created following file with name test.sh #!/bin/bash name = "Elvin John Paul" echo $name echo ${name#* } echo ${name##* } echo ${name% *} echo ${name%% *} and I am getting some error as ...
0
votes
2answers
657 views

How to exit file reading mode in linux terminal?

I appologize if its something really stupid i am asking. But this is my first day on linux commands infact I dotn have linux right now I have just installed CYGWIN for my learning. SO my question is ...
2
votes
2answers
241 views

Removed `rm` command in cygwin

Having the need to use a bash shell on a Windows computer (I'll spare you the details), I installed Cygwin, and a friend as a joke ran rm /usr/bin/rm on the terminal, and surprisingly nothing much ...
1
vote
1answer
227 views

startxwin: command not found

I am trying to enable X11 forwarding on my cygwin.. And I was following this tutorial. Whenever I do startxwin, I always get this error - root@ubuntu-dyn-cassandra-50686:~# startxwin startxwin: ...
1
vote
3answers
3k views

Using cygwin and rsync — “password file must not be other-accessible”

I've finally got an old computer of mine running as a backup server with Ubuntu 11.10. I'm planning on using it to backup my Windows 7 machine weekly using rsync. I've got cygwin installed, and rsync ...
0
votes
0answers
23 views

Change/fix cygprefix to / (corrrect/updated way?)

Ive seen and done as suggested on this question but am still unable to get ride of the /cygdrive/c prefix. :pwd /cygdrive/c/Users/myname :ls file1 file2 ... :cat /etc/fstab # For a description of ...
0
votes
1answer
826 views

configure: error: cannot guess build type; you must specify one [closed]

I am trying to compile an application called "iPerf" in my windows environment using cygwin. Now this is my first time with cygwin but I hope my problems with cygwin would be considered valid with ...
1
vote
2answers
299 views

cygwin displays rectangles instead of characters

I have a bit of a problem in cygwin, When I use make utility in cygwin, it prints rectangles instead of text. Also when text is not english, i.e. polish or russian I see rectangles instead of ...
2
votes
1answer
685 views

xterm cygwin setting vtfonts -> truetype fonts, utf8-encoding, utf8-fonts set by default

I'm using cygwin and cygwin X server, I'm having a problem with xterm. Every time I start it I have to set its parameters via the menu. Is there a way to make them set to true by default? I found ...
1
vote
2answers
337 views

Cygwin : make install up to date problem

I have installed mingw-gcc: GNU Compiler Collection using the setup of Cygwin. When running "make install" command : $ make install And I get this message : make: `install' is up to date. What ...
0
votes
1answer
73 views

Emacs key problem

I am using Cygwin to connect to an Ubuntu installation, and for some reasons my Ctrlh for the help has been remapped to CtrlDel. When I actually type Ctrlc,h I get the error: No operation mapped ...