我觉得开发还是图形界面比较好,并且是有语法提示的图形界面。
网上找的教程,在eclipse上安装shell编辑插件,去开发shell脚本。
1.安装jdk
2.下载eclipse并解压
3.启动eclipse
4.安装插件1-安装man page viewer
Help->Install New Software... 在线安装man page viewer
http://download.eclipse.org/technology/linuxtools/updates-nightly/
5.安装插件2-安装shellEd
Help->Install New Software... 在线安装shellEd
http://www.chasetechnology.co.uk/eclipse/updates 或者使用下载好的net.sourceforge.shelled-site-2.0.3.zip
安装时出现错误:
Cannot complete the install because one or more required items could not be found.
Software being installed: ShellEd 2.0.2 (net.sourceforge.shelled.feature.group
2.0.2)Missing requirement: ShellEd Core Plug-in 2.0.0.201207181255
(net.sourceforge.shelled.core 2.0.0.201207181255) requires 'bundle
org.eclipse.dltk.core [4.0.0,5.0.0)' but it could not be found。
针对第二个错误,我参考zhihong等人的建议,先利用Eclipse中的Help > Install New Software > Add 添加
Name: Dynamic Languages Toolkit. Location: http://download.eclipse.org/technology/dltk/updates-dev/4.0-nightly/ 。
安装 version 4 of Dynamic Languages Toolkit,之后再去安装 ShellEd, 最后成功完成。
6.下载命令行解释器:
Windows Shell解释器下载: https://sourceforge.net/projects/win-bash/
7.同步