Interview Question

Desktop Support Interview Exeter, England (UK)

A sample bash shell script with errors

Answer

Interview Answer

1 Answer

0

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 Question, Sign In with Facebook or Sign Up