1. ____ command is the appropriate way to interrupt a program.
2. Which of the following option is used with a set for debugging shell scripts?
3. Suppose x =10, then what will be the value of x$x$?
4. Given x=10 then,
x$x$ == $x$x.
The given statement is ____
Correct Answer is : FALSE
5. A shell script stopped running when we change its name. Why?
Correct Answer is : $0 was used in the script
6. Where is the exit status of a command stored?
7. Which of the following is false?
Correct Answer is : $* stores the number of arguments specified
8. test statement cannot ______
Correct Answer is : compare two files
9. ____ option is used with a test for checking if the file exists and has the size greater than zero.
10. Every time shift command is used, the leftmost variable is lost.
11. The UNIX shell is both _______ and _______ language.
Correct Answer is : scripting, interpreter
12. Which of the following function(s) are performed by an interactive shell?
Correct Answer is : job control, history, aliases
13. Every feature used in an interactive shell can also be used by a shell script.
Correct Answer is : FALSE
14. Which one of the following is arguably the best shell to use?
15. Which one of the following command is used to create a child shell?
16. Shell variables are of ____ types.
17. Suppose ABD_DIR is a local variable. Then it will be accessible to the child process.
Correct Answer is : FALSE
18. ____ command is used to display the environment variables only.
19. ____ command displays all the variables available in the current shell.
20. Environment variable names can be defined only in uppercase.
Correct Answer is : FALSE