Is it possible to check a bash script syntax without executing it?

Using Perl, I can run perl -c 'script name'. Is there any equivalent command for bash scripts?

10 Answers
10

Leave a Reply

Your email address will not be published. Required fields are marked *