Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [cygwin]

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

0
votes
0answers
13 views

Why can't I cd to a mapped drive using sftp?

I'm trying to upload a file to a mapped drive (D:) on a remote server using sftp. I can RDP into that remote Windows 2012 server and see the D: drive in Explorer. In a command shell I can also see ...
1
vote
0answers
8 views

dd not performing as expected in Cygwin

Trying to backup an entire drive to an image file. $ dd if=/dev/sdc of=/cygdrive/i/Storage$/backups/2018-09-18.img conv=noerror,sync status=progress bs=1M 0+0 records in 0+0 records out 0 bytes ...
1
vote
1answer
9 views

Rehash of a solution for cygwin/gfortran that does not work

I have Cygwin installed on my WIndows box. I am trying to install a program that requires gfortran to build. I found a few solutions mentioned previously such as apt-cyg gcc4-gfortran to install the ...
6
votes
1answer
746 views

Get filename without extension in Bash

I have the following for loop to individually sort all text files inside of a folder (i.e. producing a sorted output file for each). for file in *.txt; do printf 'Processing %s\n' "$file" ...
0
votes
1answer
37 views

Sort all files in a folder independently, with an output file for each

I have several folders that contain numerous text files, ranging from tens to 100s. These text files are simple databases containing millions of lines, with each line containing a single record. ...
1
vote
2answers
69 views

In Cygwin, why does echo $PATH work, but $PATH fail?

As seen here, doing echo $PATH gives me my full PATH, but doing simply $PATH gives an incomplete version that looks like it hasn't been escaped properly somewhere: Yet when I look into my ...
1
vote
1answer
13 views

How to print list of packages for which a given package is required in Cygwin?

I am searching for the command-line equivalent of apt-cache rdepends <package> in Debian, i.e. locate all packages for which the given <package> is required. cygcheck.exe doesn't seem to ...
0
votes
1answer
23 views

QEMU User mode emulation

I am a student and trying to compile QEMU on MINGW32 in user emulation mode. I read in certain document that, the following OS are supported in user space emulation: 1. Linux (referred as qemu-...
-1
votes
1answer
41 views

Copy file from Windows to Linux, when a shell script is executed

I have a program on Linux server, which runs a shell script on Linux server. Say /tmp/ShellScript.sh Now I want to copy a file placed on my Windows Machine location C:\WindowsFolder\FileToCopy to ...
0
votes
0answers
47 views

Putty closes by immediately after authentication, Cygwin-SSH on the server

I have installed OpenSSH with CYGWIN on Windows Server 2012 R2 server on Amazon EC - I wanted to create my SSH instead of creating instances in the admin dashboard. My SFTP connection with the ...
0
votes
0answers
42 views

SSH & Windows 10: Connection Works With Powershell and Git Bash But Not With Other Tools

I have generated a pair of keys and have added the public key to my server. When I want to connect to my server I use the command: ssh [username]@[server]. This works fine when I'm using ...
1
vote
0answers
50 views

Cygwin SSH server works with SFTP but not with PuTTY

I followed this video reference https://www.youtube.com/watch?v=dL-9k4riBps (tutorial and explanation on how to restrict a user to their home directory with sshd_config, chroot directory and windows ...
0
votes
0answers
11 views

virtual box shared directories not showing up in cygwin when ssh'ing into it

I've set up too shared directories (Permanent, Automount) between my Linux Mint host and my Win7/Cygwin guest. On the guest, if I open a cygwin terminal and run mount, they show up as: E: on /...
0
votes
1answer
22 views

Ssh'ing in and out of a virtualbox guest

I've set up port forwarding and allowed a firewall exception so I can ssh from my Linux Mint host into a Windows7/Cygwin guest. #from linux host hostuser@host$ ssh -p 2222 guestuser@localhost What ...
1
vote
1answer
37 views

Bash/Cygwin - aliases not behaving like command

I'm trying to get Cygwin setup the tools I use in Windows and am having some troubles. From this post, I found I could specify Notepad++ as my editor using alias notepad="/cygdrive/c/Program\ Files\ \...

15 30 50 per page