This article describes the configurations required to write shell scripts under eclipse on the linux platform. The main steps are as follows: 1. download and configure eclipse. 2. download and install the ShellEd dependency component man-pageviewerplug-3, download and install the ShellEd component 1. download and configure
This article mainly introduces the configurations required to write shell scripts under eclipse on the linux platform. The main steps are as follows:
1. download and configure eclipse.
2. download and install the ShellEd dependency component man-page viewer plug-
3. download and install the ShellEd component
1. download and configure eclipse
1) go to the eclipse official website to download an eclipse. we recommend that you download the eclipse that has inherited the CDT version.
2) Download JDK. (We recommend that you download the JDK ending with. rpm, because you can double-click it to run it)
2. download and install the ShellED dependency component
Help-> Install New Software:
Http://download.eclipse.org/technology/linuxtools/update
Select man page viewer to complete installation;
3. download and install the ShellEd component
Address: http://sourceforge.net/projects/shelled/files/shelled/
Decompress the component and add it to the Eclipse installation path/plugins /,
Restart Eclipse!
------------------------------------------- You can start programming shell scripts in eclipse -----------------------------------------
1. create a Shell project
File ---- new ---- other
Then you will see the interface:
(Select Shell Script Project), and click "next" J step by step.
2. write a shell script (create a file ending with 1. sh and write the following code in it)
#! /Bin/bashecho "I love zhangzetian !! "At this time, you can run shell scripts like running C/C ++ code in eclipse.
The running result is:
I love zhangzetian !!