Alternative bash for windows / or help on cygwin with specific tasks

my goal: to create a set of scripts that perform some common system tasks that include these

  • files copy / move / list / search / grep
  • watch / start / stop processes
  • run queries to Oracle through sqlplus

I'm used to using Cygwin / bash to make my life easier at work, and to be honest, I don’t want to move away from bash and start learning PowerShell, for example - so I started looking for a way to run bash scripts on Windows, ... preferably is an alternative to Cygwin.

The truth is that I'm still not happy with the installation of Cygwin and the fact that there is no easy way around this, that it is aimed at more or less experienced users, and there are many things that may appear during installation. I mean. Now I'm trying to write a set of scripts that will target someone less expert than me (and I'm by no means a real expert) - in most cases, some kind of administrator who does not want to know the script details.

I think this user will also want to run these scripts on another computer, and I want him to be able to explain to him how to do this, not to mention, call support and, finally (so that we can install cygwin on another car, etc.)

MinGW (msys), - , - Windows (, , ). win- bash , , - bash , cygwin -

  • "cmd/C dir *" ( ) - , cmd/C dir , - , ls dir

:

  • PowerShell? , , ,
  • "" cygwin.. , cygwin, ? cygwin-portable sourceforge, , , , -, , ? , , - ? - bash Windows, "bash somescript.sh"?

.

+3
4

, Cygwin .

cygwin, , .bat script, cygmin

setup.exe --packages=list_of_packages_you_need --quiet-mode

+1
+1

, , msys * nix, Windows. msys. , .

"bash.exe", "cp.exe" .. bin msys /vm, msys, , . , DLL . , DLL .

, , .

+1

MKS Toolkit. Cygwin, Windows. CR/LF, Windows, /cygdrive/c. MKS Toolkit.

:

  • MKS Toolkit . . .
  • MKS Toolkit ( ) 600 . ! Cygwin, .
  • Kornshell, Bash ( ). Kornshell Bash 95%. , 5% . Kornshell , Bash . Kornshell print, echo. . , unit . , Kornshell , .
0

All Articles