Tag Info

New answers tagged

2

AFAIK, lsof has not been ported to cygwin. You could use the Microsoft netstat utility there: netstat -aon | awk '$1 == "TCP" && $4 == "LISTENING" && $2 ~ /:8000$/ {print $5}' | xargs kill


0

Ok, I figured out the solution to my own problem. By default CygwinX no longer listens for tcp connections (Cyg SSH is using Unix sockets to connect). To enable tcp connections "-listen tcp" needs to be added to the command line parameters. In my case I changed the "XWin Server" icon to read: C:\cygwin64\bin\run.exe --quote /usr/bin/bash.exe -l -c "cd; ...


1

BASH_VERSINFO[5]=x86_64-redhat-linux-info Output: bash: BASH_VERSINFO: readonly variable Btw. see: Hacky method to unset readonly variable with gdb


0

If you put a sleep command a the end of $HOME/.startxwinrc, and run your xterm in the background like this: /usr/bin/xterm -ls & sleep inf It should avoid the whole session closing when the initial xterm closes.


1

incron relies on inotify, which isn't emulated by Cygwin. To run on Windows it would have to be re-written using equivalent Windows functionality; see https://stackoverflow.com/questions/3517460/is-there-anything-like-inotify-on-windows for details. The answers to that question give links to various Windows tools which may provide the functionality you're ...



Top 50 recent answers are included