How do you run ShellScript on Windows?

2019-07-22 20:58发布

I'm just a student and I'm learning ShellScript in my college. In college lab, our ma'am just asked to enter an IP address in PUTTY and launch it, open Vi editor and do programming. How do I do it at home? I run XP on my computer.

标签: linux shell
8条回答
太酷不给撩
2楼-- · 2019-07-22 21:21

YOu can use Xemacs for window and respective windows packages.

查看更多
放荡不羁爱自由
3楼-- · 2019-07-22 21:22

I'd hate to pass judgement on a course I'm not taking, but it sounds like you might not get the entire story about shell scripting, based on your description.

As others have suggested, Cygwin is the way to go, it's excellent. Here's a nice how-to for bash. I'd avoid tcsh or any other version of the c shell (there be monsters).

If you end up needing to do something more advanced, bash can be cumbersome. You should consider a general purpose language, such as python, which is also available in cygwin, or as a stand-alone windows installer. For process control, though, bash is king.

查看更多
登录 后发表回答