Total Questions : 10
Expected Time : 10 Minutes

1. What is the purpose of the 'trap' command in shell scripting?

2. How do you navigate to the home directory in a shell script?

3. What does the command 'grep' do in shell scripting?

4. In a shell script, how do you concatenate two strings?

5. In a shell script, how do you check if a file exists before performing an operation?

6. What command is used to list the contents of a directory in a shell script?

7. What is the purpose of the 'awk' command in shell scripting?

8. How can you pass command-line arguments to a shell script?

9. Explain the significance of the 'readonly' command in advanced shell scripting.

10. What is the purpose of the 'paste' command in shell scripting?