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

0
votes
1answer
24 views

sort process by cpu usage in cygwin

please help me to sort process by cpu usage in cygwin. I already tried tasklist but it shows only process by memory usage .
2
votes
1answer
20 views

Why isn't rxvt-unicode launching with perl extensions enabled by default even though I built it with '--enable-perl' and even '--enable-everything'?

I'm trying to get 'clipboard' perl extension for urxvt to work. I installed the script, it didn't work, and after some searching around I discovered that Cygwin's rxvt-unicode package is built with ...
2
votes
2answers
199 views

Cygwin using wildcard to trim all images

Unortunately, I am forced to use windows. So, I installed Cygwin to use some Linux commands. The following command works fine. It replaces an image with its trimmed version. "C:\Program ...
1
vote
0answers
44 views

cd -P gives bash: dirs: +P: invalid number [closed]

When I attempt to cd -P with a symbolic link, I am getting this error: bash: dirs: +P: invalid number ~/.marks Wed Aug 12 - 02:48 PM > ls -la total 3 drwxrwxrwx+ 1 rbram Domain Users 0 Aug 12 ...
0
votes
4answers
86 views

How to find a string from multiple .csv files

I have multiple .csv files in a folder named HW in my desktop and I am using cygwin , I want to find a string from a specific column for example in X column ARD is the header in content value may be ...
0
votes
0answers
31 views

Weird G++/AR Compilation issue

I'm working a patch-set to compile dpkg and APT onto Cygwin. I've almost got everything working, but I'm encountering some weird behavior with ar/g++ that I can't explain. APT's stock Makefile uses ...
1
vote
2answers
18 views

How to exclude a directory when zipping files

I'm trying to exclude a certain directory when building an archive using zip. Here's what I have tried: $ zip home.zip -y -r HOME -x '/AppData' -x '/AppData*' -x '/AppData/*' -x 'AppData' -x ...
3
votes
1answer
150 views

Grep doesn't match carriage return characters

I'm trying to find lines with the carriage return character, but I'm not getting the results I'd expect. I've whittled it down to this proof-of-concept: $ uname -a CYGWIN_NT-6.1 Aodh ...
-1
votes
1answer
56 views

No such file or directory error when attempting to run shell script upon startup of console [closed]

I'm trying to run a shell script upon startup in cygwin. I have added these commands to my .bashrc file: $ echo 'export MAIN="D:/dev/Main" >> .bashrc > echo '.MAIN/Env/tpsScripts/devenv.sh ...
0
votes
0answers
42 views

Getting CRC mismatch warnings in gdb on cygwin

When I run any program under gdb in cygwin shell I get following warnings... warning: the debug information found in "/usr/lib/debug//usr/bin/cyggcc_s-seh-1.dll.dbg" does not match ...
2
votes
1answer
38 views

Trouble with horizontial merge of csv files under Cygwin

I have two csv files: test1.csv 1 2 3 4 test2.csv 6 7 8 9 I want to horizontally merge these two files. To do this I use paste -d , test1.csv test2.csv > paste.csv If I open this file in ...
0
votes
1answer
91 views

Portable way to kill a process listening on a given port

Is there a way to kill a process listening on a given port (e.g. in bash lsof -t -i tcp:8000 | xargs kill) from a shell script that will also work on cygwin, as well as bash?
0
votes
1answer
3k views

PuTTY, CygwinX, and X11 forwarding connection refused

I am no longer able to forward X11 using KiTTY/PuTTY to CygwinX. I am connecting to an Ubuntu Server 14.10 machine that is correctly configured to allow X11 forwarding. I am able to initiate X11 ...
1
vote
1answer
65 views

Cygwin, bash, change an environmental variable?

I have set up a Cygwin environment on my machine (Windows 8.1). pol@pol-lap1 ~/Downloads/software/database/firebird/Firebird-2.5.4.26856-0 $ `set | grep unknown` BASH_VERSINFO=([0]="4" [1]="3" ...
0
votes
1answer
55 views

Incrontab / Incron on Cygwin

Does anyone please know if it is possible to install incron/incrontab within Cygwin? I've had a look and the package does not appear on the cygwin website, I wondered if anyone had tried, knew of any ...
-2
votes
1answer
222 views

SSH error: WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

I ran rsync (cygwin) and got this error. I think they changed the Red Hat Linux OS from version 5 to version 6, last night. Would that be the cause of this error message? What do I need to do to fix ...
0
votes
0answers
48 views

X11 oddness - Installer shows squares instead of text. Font issue?

Using X11 and launching of X applications generally works (using xming). However when launching websphere installation (IBMIM) the resulting gui interfaces shows squares instead of letters. Have ...
0
votes
0answers
318 views

Cygwin compilation error in ffmpeg: gcc is unable to create an executable file

While i am executing the below command in cygwin in ffmpeg source directory ./build_android.sh Here is the for ffmpeg in android I am getting this error message ...
0
votes
0answers
36 views

Cygwin and OpenSSH

I am having issues setting up and installing the latest Cygwin with Openssh. Similar to this issue Installing SSH via Cygwin I can get this setup and working fine when the server is not connected ...
1
vote
1answer
137 views

glib errors on cygwin

I want to compile and install geany text editor in Windows 7 by using cygwin. I follow the usual way to compile and install C source: ./configure make make install the configure script was ...
3
votes
2answers
2k views

permission issues while doing ssh setup in cygwin

I'm trying to setup ssh-host in cygwin. Getting the below error: *** Warning: The permissions on the directory /var are not correct. *** Warning: They must match the regexp d..x..x..[xt] *** ERROR: ...
3
votes
2answers
2k views

How to get traceroute on cygwin?

The implementation of traceroute(tracert) differs on Windows and Unix. I wanted to compare both with Wireshark. I am on Windows 7 now and i wanted to get Unix traceroute implementation quickly. My ...
1
vote
0answers
90 views

scp stdin: is not a tty, and write failed, connection reset by peer

I have used scp for years between linux servers, as well as with Mac OSX systems. But now, I have installed cygwin and ssh, bash and openssl in order to pull large files from my linux box on the web ...
1
vote
1answer
80 views

Cygwin header file location

My OS is Windows 8, I'm using cygwin 1.7.34(0.285/5/3). Where are the header files located in cygwin? For instance, I need to add an additional header file, say transport.h to already existing in ...
0
votes
1answer
345 views

/usr/bin/gnuplot.exe: error while loading shared libraries: cyggd-2.dll: cannot open shared object file

I am trying to run Octave under Windows and to run graphics plotting routine under it. It requires Cygwin and X/Cygwin. When I trying to run any plotting routine, the following error appears: ...
2
votes
1answer
334 views

Change my profile's PATH environment variable on Cygwin

Sadly, I am not at all experienced in coding. I am attempting to use a program to work with GRIB files, here: http://www.nws.noaa.gov/mdl/degrib/compile.php?os=windows. I am compiling as there are ...
2
votes
2answers
410 views

Installing SSH via Cygwin

I have a laptop with windows 8. I'm trying to setup SSH from this laptop to a windows 2012 server via Cygwin64. I followed the steps as described here. However, when I am at the step: ...
3
votes
3answers
898 views

Cygwin XWin server: How to disable the creation of the “panel” window?

A couple of months ago, I re-installed Cygwin on my Win7 machine. Since then, when clicking the XWin Server entry in the Start Menu, it not only starts the (familiar) X tray icon along with a xterm ...
1
vote
0answers
73 views

How do I install htmldoc via cygwin?

I've installed all packages with gcc in their title via cygwin on my PC along with FLTK and I ran ./configure and ./configure ENTER with no errors but now after running make I received the error: ...
2
votes
1answer
31 views

Run Cygwin software on Linux

My professor has some software that he wrote that runs on Unix-like systems. Either on Windows via Cygwin or on MacOS, it uses X11 on both platforms. Is there any way for me to run it on Linux? He ...
1
vote
1answer
128 views

rsync initial sync

I'm new to rsync. I have a Linux machine with an external harddrive (ext3) and a Windows machine with an NTFS external harddrive. I connected the NTFS harddrive to the Linux machine and did a mirror ...
3
votes
0answers
66 views

How do I schedule a cron task to run

I'm looking to crontab a script every hour starting Friday at 5pm... ending Monday at 5am. This script checks if it's completed this week and if it's currently running. If no/no, start task. Off the ...
1
vote
1answer
158 views

Cygwin: CD to Windows paths easily

In Windows paths are (unreasonably) long, so it is common to drag and drop from some links to the terminal or copy and paste paths from file managers. It is possible to put in the shell init file a ...
0
votes
1answer
204 views

gtags for cygwin

This might be a silly question, and hopefully it's not off-topic, but I can't figure out where else to ask. Is gtags available for cygwin? I'm using ctags but it'd be nice to have all the extra ...
0
votes
1answer
98 views

Odd Cygwin netstat output

20:38:41 [setevoy@setevoy-main ~] $ netstat -anp ▒▒⨢▒▒ ▒▒▒▒▒▒祭▒▒ ▒▒▒ ▒▒▒▒▒▒▒ ▒▒▒▒ ▒▒▒譨▒ ▒▒▒▒ ▒▒▒▒ﭨ▒ I have clear installtion of Cygwin on my Win7 x64 desktop, but netstat ...
-4
votes
3answers
73 views

Data Types in UNIX [closed]

I have 2 questions. Q#1: data types & variables I have just begun reading UNIX and came across variable definitions. As per the site I'm referring UNIX variables are defined directly with a ...
1
vote
1answer
231 views

Run an X11 program under Cygwin

How do I set the appropriate DISPLAY environment variable? I try to launch idle in cygwin using the following command: idle ...and I get a display error: _tkinter.TclError: no display name and ...
0
votes
0answers
186 views

KDE-Openbox closes immediately after it opens on Cygwin

I just installed Cygwin a few days ago. Now when I want to explore it, I can't run KDE-Openbox. I haven't tried anything else, except compiling Mplayer which did work. Last time I had Cygwin ...
0
votes
1answer
292 views

Error when running TMUX under CYGWIN

When I run tmux in cygwin command line I get the error: $ tmux 0 [main] tmux 6688 C:\cygwin64\bin\tmux.exe: *** fatal error - NtCreateEvent(lock): 0xC0000077 Hangup I tried to reinstall tmux ...
1
vote
2answers
402 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 ...
8
votes
2answers
9k 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
219 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
338 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
36 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
366 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 ...
2
votes
1answer
298 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
3answers
31k 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 ...
9
votes
4answers
1k 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
0answers
129 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
3k 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 ...