Interview Question

Interview Exeter, England (UK)

A sample bash shell script with errors


Interview Answer

1 Answer


1. No esac to end a case statement 2. No fi to end an if clause 3. Failure to set a global variable, which when the script was run would have erased the disk

Interview Candidate on Feb 9, 2011

Add Answers or Comments

To comment on this, Sign In or Sign Up.