Shell Scripting - techienitish/Devops GitHub Wiki
Basic Shell Script Interview Questions
1. How do you write a simple shell script?
2. What are positional parameters in shell scripting?
3. How do you pass arguments to a shell script?
4. How do you use loops (for, while, until) in shell scripting?
5. Explain the use of if-else in shell scripting.
6. How do you read input from a user in a shell script?
7. What is the difference between && and || in shell scripting?
8. How do you define and use functions in a shell script?
9. What is exit 0 in shell scripting?
10. How do you debug a shell script using set -x?