How to check the bash script syntax?
How to check the bash script syntax without executing it? I mean using Perl, I can run perl -c 'script name', is there any equivalent command for bash scripts?
Thanks. |
Why don't you want to execute it? You could run it in a chroot to stop it messing up live data during the test run.
|
can you explain how to execute a script in chroot?
Thanks |
All times are GMT -5. The time now is 03:35 PM. |