如何在Linux下的shell(bash)的Windows上发展? [英] How to develop in Linux-Like Shell (bash) on Windows?

查看:137
本文介绍了如何在Linux下的shell(bash)的Windows上发展?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的Windows用户。但根据我的项目要求,我需要编写的Linux Shell脚本(Bash shell中)。如何开发在Windows Linux的壳呢?

有没有写的Linux Shell脚本任何IDE?请分享我的一些想法和资源链接。


解决方案

您有相当多的选择:

的cygwin

cygwin的。它会给你一个bash。

的MinGW

href=\"http://www.mingw.org/\" rel=\"nofollow\">最小的GNU为Windows 的

VM,如VirtualBox的

有虚拟机上,VirtualBox的吨易于使用(它的权力 Boot2Docker )。你可以做真实Linux发行版的开发和测试。

的Ubuntu在Windows 10

有是块新的孩子。这允许您使用的是Windows子系统的Linux操作系统(WSL)来运行用户空间的Ubuntu。看到更多关于它在微软博客

其他注意事项/ IDE支持

Shell脚本要小,需要IDE少等我用VIM语法highligthing。但似乎炮轰可能你的情况是有用的。我得到了答案这个问题的链接 - Bash脚本的Eclipse插件

的IntelliJ有几个插件太为猛砸。

I'm Windows user. But according to my project requirements, I need to write Linux Shell Script(Bash shell). How to develop Linux Shell on Windows?

Is there any IDE for writing Linux Shell Scripting? Please share me some ideas and resource links.

解决方案

You have quite a number of options:

cygwin

Install cygwin. It will give you a bash.

mingw

The minimal GNU for windows. Comes with set of commands, compilers. This came with my Git on Windows and now the default shell for small scripts

VM, such as VirtualBox

There are tons on VMs, VirtualBox being easy to use(it powers the Boot2Docker). You can do development and test on real Linux distros.

Ubuntu on Windows 10

There is new kid on the block. This allows you to run User Space Ubuntu using Windows Subsystem for Linux (WSL). see more on it at Microsoft blog

Other notes/IDE support

Shell scripts should be small, requires less IDE etc. I use VIM with syntax highligthing. But it seems ShellED may be useful in your case. I got the link from answer for this question - Bash script plugin for Eclipse?

IntelliJ has couple of plugins too for Bash..

这篇关于如何在Linux下的shell(bash)的Windows上发展?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆