3 ms·
"The hardest part of running bash and other posix things under windows is filesystem access. Windows uses drive letters and backslashes, unix has a root filesys
by rsync 11y ago
"The hardest part of running bash and other posix things under windows is filesystem access. Windows uses drive letters and backslashes, unix has a root filesystem with forward slashes. It seems they are taking the same route as cygwin by "mounting" windows drives in /mnt/c (or /cygdrive/c)."
How do these ubuntu tools interact with the rest of the windows system that they are running on ?
Can I 'kill -9 explorer.exe' ?
Can I touch a file in /mnt/c/(whatever)/Desktop ... and have that file actually show up on my windows desktop ?
- timgws 11y agoPIDs from Windows are not exposed when looking at /proc, so I am guessing you will not be able to `kill -9 explorer.exe` unless there is some real voodoo going on (and then it would not be POSIX compatible, anyways). I think the command that you meant to say was killall :) `kill` will only kill pids, not process names.
- JdeBP 11y agoThis was one of the selling points of the old Windows NT POSIX subsystem (the Interix-derived SFU/SFUA one) over its predecessor. Programs such as "ps" and "kill" can "see" Win32 processes, with POSIX process IDs. * https://technet.microsoft.com/en-gb/library/bb463219.aspx#EHAA https://technet.microsoft.com/en-gb/library/bb463219.aspx#EH... * https://technet.microsoft.com/en-gb/magazine/2005.05.interop.aspx https://technet.microsoft.com/en-gb/magazine/2005.05.interop...