Questions tagged [cygwin]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
11 views

Getting error while using Rsync on Cygwin

I am using rsync, to transfer data to HPC cluster, using Cygwin for windows 7. I type the following command to transfer a folder from my computer to the HPC remote server. rsync -rzv /cygdrive/C/...
0
votes
0answers
7 views

Using Cygwin in Windows 10, chmod 600 does not work as expected?

ssh says: Load key "C:\\Users\\me/.ssh/id_rsa": bad permissions debug1: Trying private key: C:\\Users\\me/.ssh/id_dsa So I try to fix the permissions using chmod 600 as is very standard on Linux ...
0
votes
1answer
39 views

cygwin 3.x mkfifo -m0600 creates named pipe with 0644 permissions

when i ran cygwin 2.x i used mkfifo -m 0600 file to create a named pipe with no user and group permissions. in the latest cygwin the above command creates device with 0644 permissions. And i cant ...
0
votes
0answers
17 views

Cygwin terminal / shell session in mobaxterm

I have (64-bit) Cygwin install on my Windows machine; and I'm also using mobaxterm 12.4. How do I get my mobaxterm to... Start a Cygwin shell session? Or better yet Use Cygwin as the default when ...
0
votes
1answer
18 views

Win10 cygwin find: replace slashes and enclose in quotes in xargs

I'm on Win10, using cygwin64 ("cfind" is cygwin's "find", I renamed to avoid confusion with Win's own "find"). In %root%, I want to delete all folders with name matching ".vs" (and their contents) ...
0
votes
1answer
14 views

How can I get my Cygwin SSH server to log into a file?

On proper Linux systems, the SSH server typically logs into a file, e.g. /var/log/auth.log or /var/log/syslog etc. But - that doesn't exist on my Cygwin system; and merely editing /etc/sshd_config ...
0
votes
0answers
58 views

SSH client takes 100 seconds to connect to machine with 17ms ping time

I'm trying to SSH from one computer of mine, A, to another, B, over a (wireless) LAN. They have the same netmask, get their lease the same way etc. The client A is Devuan Linux, the "server" B is a ...
0
votes
1answer
18 views

How can I setup the Cygwin X server as a service?

I've read the Cygwin/X user's guide; I've installed Cygwin, the X-related packages, and am able to run X and apps on X. However - that's all manual. I need to invoke startxwin and need to call xhost +...
0
votes
0answers
25 views

using sed commands on cygwin

I want to insert space between integers in a notepad file using ( sed 's/.\{1\}/& /g' filename_stripped.asc > newfilename.asc ) in Cygwin and CMD, but it doesn't work and stated the ...
1
vote
1answer
73 views

Cygwin + git + ssh = unusable (high CPU usage due to Antimalware Service Executable)

Operations with git take very long time making git unusable. For example, when one does git pull (to update local repo to master repo) Antimalware Service Executable eats close to 90% of the CPU and ...
0
votes
1answer
104 views

How to test ssh port forwarding using netcat (nc)?

I'm attempting to debug an issue with port forwarding, which is "Why can I not limit which port to connect to?" This isn't the question here though. This question here is "Why won't nc send any data ...
0
votes
0answers
65 views

Cannot remove files in Cygwin on Windows 10

I just installed Cygwin on a new Windows 10 machine. I get an error "Invalid request code" whenever I try to remove a file. However every other file operation that I have tested so far seems to work ...
1
vote
1answer
42 views

How to run five commands in one sh file?

I'm working in Cygwin terminal when i choose in cygwin terminal ./test2.sh it split my files and in second step should execute the remaining commands but it stops bellow content of my test2.sh ...
0
votes
1answer
12 views

Bin? Not Showing Up In Cygwin Installation Select Packages

I am following this guide for setting up cLion with cygwin. In the guide, the second step is to add these pacakges: gcc-g++ make gdb and select the bin? tick mark. However, in my installation page, ...
2
votes
1answer
34 views

Why does the Cygwin chere package take up so much space?

The chere package is currently the easiest and most common method to create a context menu item that opens a Cygwin terminal at a specific directory. When installing the package using the Cygwin ...
0
votes
0answers
20 views

Cygwin: Handle python scripts as Window programs

In my setup on Windows I use Cygwin because I like Bash, but I use Windows' Python to make sure everything is compatible with the version my colleagues use. Typically, when I execute a windows ...
0
votes
0answers
22 views

SSH key isn't created or saved to my file

I am using windows cygwin and trying to generate a key I am trying this procedure: Open cygwin bash ssh-keygen -t ed25519 -C “your-email@email.com” Select a file name to save key. (You can leave ...
1
vote
2answers
122 views

is this a bug in cygwin GNU sed 4.4 when run from a cmd window?

is this a bug in cygwin GNU sed 4.4 when run from a cmd window? this works C:\>echo asdf| sed "s/a/w/" wsdf C:\> this works (apart from that the output isn't quite right in that it shouldn't ...
0
votes
0answers
19 views

Cygwin+zsh terminal issue for directory with git repo only

I have Cygwin with zsh, and I am using git from cygwin, not the Windows one. The issue is when I am under the directory which is a git repo, my command does not terminate FYI: I have cygwin + zsh + ...
2
votes
1answer
129 views

Why is pdftk no longer available on Cygwin?

pdtfk is often considered the go-to non-proprietary tool for serious transformations of PDF files, and as such it used to be available from the Cygwin package repository, but I can't find it anymore. ...
8
votes
2answers
2k views

Cygwin's pdflatex: i5-3340M runs 2-3x faster than i5-8250U

I used to run Cygwin 64-bit on a Toshiba laptop, Portege R930. In particular, I ran pdflatex on a report being composed. It took about a handful of seconds. That machine ran Windows 7. According ...
2
votes
1answer
39 views

How to make WinScp use the same proxy as Cygwin ssh

I'm working on a Windows machine behind a firewall. In Windows control panel, there's a proxy .pac file configured, which browsers use successfully. When I use ssh (within Cygwin), I have a ...
0
votes
1answer
83 views

Cygwin SSH port redirection

What happen when I do an SSH port redirection trough Cygwin SSH ? I mean, does Cygwin has the power to redirect a port in Windows, without administrator rights ? Or do he effectively redirect ports ...
0
votes
0answers
25 views

Conemu+Cygwin, keys like ALT+B don't work

I'm trying to use cygwin inside conemu, I just found that keys like alt+b to go back one word, and alt+f to go forward one word don't work. I did some googling but didn't an answer. Anybody knowns how ...
0
votes
1answer
32 views

Cygwin: Safe to `cp Some/File.txt /dev/clipboard`?

I know that there is putlcip and getclip, but sometimes, I just want to deal with files. I know that I can cp from /dev/clipboard to another file, and the result is a text file with the same ...
0
votes
1answer
133 views

Share ssh-agent socket or any other named pipe between windows 10 and cygwin

Cygwin emulates sockets by opening port and adding the port number and a "login" secret to a file instead of using windows named pipes. Further there seems to be no access to Windows named pipes from ...
0
votes
1answer
43 views

how to install gengetopt on cygwin

I have some C code originally developed on linux, which makes use of gengetopts to parse the command line. I also want to build that code on cygwin. (On linux I simply did "apt-get install gengetopt" ...
0
votes
0answers
26 views

Unable to scroll using mouse wheel with putty in cygwin

I am using cygwin and fvwm in windows 7 and using putty as a replacement for openssh, since it does not work for me anymore. The putty I am using came with cygwin and its version is 0.69. I startup ...
1
vote
0answers
26 views

Cygwin: Is it safe to pipe from /dev/clipboard to clip?

I am using cygwin on windows. Given a long list of strings in the clipboard: mail know trial posture wind census shelf concrete moon fee If I want to "unwrap" them, is it safe to use such a command:...
0
votes
1answer
19 views

How to bring up an Explorer window in the current Cygwin shell folder?

I'm in a shell session in Cygwin, and want to open up a Windows Explorer window in the current directory you're in. How do I do that?
0
votes
1answer
38 views

SSH sends environment variable, but to no effect

I'm SSH'ing from Cygwin into an older SUSE machine. I use: MyHost SetEnv FOO=bar SendEnv BAZ in my ./ssh/config file, and run export BAZ=bar on my Cygwin machine before connection. When I ...
0
votes
1answer
73 views

Unable to remove symlink from cygwin

I installed cygwin64 on my PC and then from terminal created some symlinks like this: %ln -s /cygdrive/c /c %ln -s /cygdrive/z /z After that by mistake I created wrong link: %ln -s /cygdrive/x /z ...
0
votes
0answers
16 views

Why does fzf output wrong lines in tmux?

When I do the following... Create a list of random words (randomwordgenerator.com) Copy it into my Windows clipboard Start two instances of my Cygwin minTTY Start tmux in one of them. Run the ...
0
votes
0answers
22 views

Cygwin right-click pastes twice

Using cygwin on Win10. It's been working fine until recently. Now, when I paste text in a terminal window with a right-click, more often than not, it pastes it twice. I have to click on the mouse ...
0
votes
1answer
53 views

Access drive by label under rsync/cygwin?

I have downloaded rsync for Windows. It uses cygwin. My rsync command is this: rsync.exe -W -a -v --delete --exclude=cache2 --exclude=Cache "/cygdrive/C/Users/user1/" "/cygdrive/F/backup/" As you ...
0
votes
0answers
22 views

Extract emails from files contained in various folders with grep and sort them

I am trying to extract all email address from a specific TLD from files that are located in a big folder and in some sub-folders (maybe this is the issue? nb. I am in the correct directory where the ...
0
votes
0answers
40 views

How do I make tig available in windows git bash?

I like to use git bash as my IntelliJ terminal when working on windows (which sometimes I have to) -- and it's always bothered me that when I do, I don't have tig, available. I absolutely love the ...
3
votes
1answer
116 views

Wget not downloading files from NASA’s Earthdata website

I am using Cygwin64 on Windows 10 to download files via Wget from NASA’s Earthdata website. I seem to be following the correct procedure as explained on their website, but for some reason, Wget is not ...
0
votes
0answers
13 views

view / create / modify / delete Windows 7 Explorer favorites from Cygwin bash prompt

I have a list of favorites in Windows Explorer, like Desktop, Downloads, etc. How do I access and modify this list from the Cygwin command line? Is it stored somewhere in the file system? I'm ...
0
votes
1answer
119 views

Cygwin shell in VS Code tries to activate conda. How to prevent this?

In my Windows 10 computer I have VS Code and Cygwin installed. I use Cygwin bash as the shell for VS Code. I also have the Anaconda Python distribution installed. Whenever I open a new shell in VS ...
0
votes
0answers
8 views

can find with shell expansion but not grep

Can anyone figure out why I could not find list_awareness.html with an ls piped to a grep, yet it was findable with the shell expansion. I am using Cygwin on windows. casper@NYKPWM2037968 /cygdrive/...
1
vote
0answers
41 views

Cygwin Folders Deleted [closed]

This is very weird. Under Windows 8, I have a computer running bash script calling Cygwin routines downloading files and executing Windows programs over them. After using Cygwin almost everyday, ...
0
votes
1answer
64 views

cygwin: Administrator user not a member of Administrators group

I have two Win10_64 Pro PC's. One is behaving as expected and the other is not and I can't figure out how to resolve the issue on the problematic PC. Something else that might be noteworthy is that ...
0
votes
0answers
21 views

How can I get an up-to-date version of wget on Cygwin?

On Cygwin, the most up-to-date version of wget that I can find is 1.19.1. https://cygwin.com/packages/summary/wget.html However, that version is lacking support for TLS 1.3, which was added in 1.19.5,...
0
votes
0answers
37 views

zsh installed via cygwin makes the windows background sound with every command

So I have zsh.exe inside C:\cygwin64\bin and I recently integrated it as an integrated terminal for vs code. I have noticed it makes the windows background sound with every command I enter in the ...
1
vote
1answer
62 views

File permissions/ownership on network share in MSYS2 vs Cygwin?

I work on Windows 10, with both MSYS2 and Cygwin installed. For the most part I work with MSYS2 (or rather, MINGW64 shell in this case), and I generally do not have a problem accessing files on a ...
0
votes
1answer
126 views

How likely is the last block of a drive to be a bad sector?

This is a follow-up question to this one, where zeroing the disk with dd would give me an error towards the very end of the drive. I then set about trying to determine whether this was a bad sector, ...
1
vote
1answer
166 views

How do I run tesseract (anything really, that requires write permissions, from a shell) on windows10?

I am trying to run tesseract on windows10 (home ed), but this question is really more generic. Sources and instructions to run the program are here. I am running a downloaded windows binary, not a ...
1
vote
2answers
502 views

Why does dd give me an error at the end of zero-writing a disk?

I'm running Cygwin on Windows 7. I was using the following dd command to securely erase a 1TB mechanical disk: dd if=/dev/zero of=/dev/sde bs=4M status=progress About 2 and a half hours into the ...
0
votes
1answer
173 views

Does Ctrl2Cap work with Windows 10

The old Unix environments, X-windows, and power text editors make extensive use of the Ctrl key. When running such environments & apps on modern era Windows laptops, e.g., perhaps via Cygwin, the ...

1
2 3 4 5
34