0

Is there an editor for shell scripts? Or is there an online parser or something similar to that?

0

2 Answers 2

3

Editor: VI ;-) Seriously, any simply text editor will do. You may want to choose one with some kind of decent syntax highlighting though (again, VI, emacs, etc.)

Parser: If you look for a way to validate your scripts without actually executing them, look into the -n / noexec option.

Sign up to request clarification or add additional context in comments.

Comments

0

Any text editor can help in editing shell scripts, U usually use VIM or GEDIT to edit shell scripts. And in a usability perspective, I felt gedit more friendly.

-n / noexec option. can be used to validate shell scripts.

Also adding -v option to the shebang ie: #!/bin/sh -v will help you debug the script easily.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.