1. read command is shell’s internal tool.
2. A single read statement can be used with one or more variables.
3. What are positional parameters?
Correct Answer is : special variables for assigning arguments from the command line
4. The first argument is read by the shell into the parameter ___
5. The complete set of positional parameters is stored in ______ as a single string.
6. Which of the following is used for storing the number of positional parameters?
7. Which of the following commands let us perform a set of instructions repeatedly?
Correct Answer is : for, while, until
8. Which of the following keywords are used in while loop?
Correct Answer is : do and done
9. until loop operates with a reverse logic as used in while loop.
10. Which one of the following is used for looping with a list?
11. Which of the following loop statements uses do and done keyword?
Correct Answer is : for and while
12. Which command is used for changing filename extensions?
Correct Answer is : basename
13. Which command is used by the shell for manipulating positional parameters?
14. ____ statement is used for shifting arguments left.
Correct Answer is : shift
15. Which one of the following is an internal command?
16. Which symbol is used with the set command for command substitution?
17. The ____ allows us to read data from the same file containing the script.
18. Any command using standard input can take the input from here document.
19. Which of the following command doesn’t accept a filename as an argument?
Correct Answer is : mailx
20. We can use the here document with interactive programs also.