Skip to main content
14 events
when toggle format what by license comment
Nov 19, 2014 at 14:22 comment added dsolimano @barlop, I suppose I just knew what to look for from having run SUA on prior windows versions.
Nov 18, 2014 at 18:06 comment added barlop @barlop SUA installs "Subsystem for windows" in the start menu including "Korn Shell" and "C Shell". If you were to run ksh.bat then do as as the shortcut does, so with -l ksh -l i.e. ksh.bat -l otherwise you get errors. This is covered here superuser.com/questions/841795/…
Nov 18, 2014 at 15:25 history edited barlop CC BY-SA 3.0
deleted 7 characters in body
Nov 18, 2014 at 15:14 comment added barlop @dsolimano by the way, how did you notice that ksh was in the start menu? I see it when I search for ksh though it doesn't appear in any folder
Nov 18, 2014 at 15:12 comment added barlop @dsolimano I can't get commands running in ksh i.e. in the shell that appears after running ksh.bat superuser.com/questions/841795/…
Nov 18, 2014 at 14:56 answer added barlop timeline score: 4
Nov 18, 2014 at 14:46 comment added barlop @slhck brief note, worth noting that windows has a whoami command.
Nov 18, 2014 at 14:45 comment added barlop @dsolimano I might make a new question out of that.. i'll let you know..
Nov 18, 2014 at 14:14 comment added dsolimano Do you have Bash or KSH on the start menu somewhere? That works for me.
Nov 18, 2014 at 14:04 comment added barlop @slhck no. you don't need to add the directory to the path if (as you suggested earlier) you give the absolute path(or if you are in the directory and do .\command. i'm largely a windows guy but I know many *nix commands. I already took into account re the path. I just tried adding it to the path, no difference.
Nov 18, 2014 at 13:57 comment added slhck No idea; I'm a Unix person :) But I'd also guess you need to add the bin directory to your PATH. And maybe then these executables just work.
Nov 18, 2014 at 13:41 comment added barlop @slhck Just tried it, it didn't run. It said 'c:\windows\sua\bin\whoami' is not recognized as an internal or external command, operable program or batch file. (out of interest, what, if any, setting do you have that can make extensionless files run as executable?)
Nov 18, 2014 at 12:59 comment added slhck Have you tried simply running C:\Windows\SUA\bin\whoami? A file does not need to be named .exe to be executable.
Nov 18, 2014 at 12:53 history asked barlop CC BY-SA 3.0