
Tech round for a new credit-card program: candidate is shown a 5-6 line shell script and asked to critique it
What kind of file is "xxx.sh" and how is it executed?
Line-by-line, explain what each command in the provided shell script does.
Comment on shebang, permissions, variables, pipes, exit codes, and any side-effects.