LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   sh script under windows (https://www.linuxquestions.org/questions/programming-9/sh-script-under-windows-314495/)

innuendo_98 04-18-2005 09:06 AM

sh script under windows
 
Is there a way to run a linux script through windows, I'm using putty as my ssh client

sirclif 04-18-2005 01:07 PM

i believe the script is dependent on the shell you use, so bash scripts are different than cshell scripts and so forth. i think you would need to run a windows version of the bash shell (assumeing your using bash to begin with). this sight looks like it addresses this very problem.

deiussum 04-18-2005 01:25 PM

I like the cygwin tools, myself. You can get a bash prompt on your windows box to execute bash scripts under Windows.

But... you say you are using Putty to ssh in to a linux box. You should be able to just execute your scripts on the linux box that way. Doing it this way, they are getting executed on the Linux box, though you are initiating the execution from Windows.

What sort of problems are you running into? Maybe you can be more specific about what exactly you are trying to do and what your problem is.

innuendo_98 04-21-2005 07:29 AM

Well I have no problems getting to run my scripts, but let say I'm not here, I don't want people to be wandering around the linux box ... Yeah I can implement permissions and that but I got this request to see if the script can be more 'visual' ...


All times are GMT -5. The time now is 06:24 PM.