Shell Programming MCQs

By: Prof. Dr. Fazal Rehman | Last updated: April 15, 2025

28
Score: 0
Attempted: 0/28
Subscribe
1. The positional parameters are______



2. The shell script is___



3. For storing the number of positional parameters, what is used?



4. To make the scripts interactive, the ________ command is used.



5. The internal tool of a shell is the read command.



6. With one or more variables single read statement is used.



7. With an extension .sh the shell scripts are saved.



8. In the separate child shell process, the shell script executes.



9. With ____ first line of every shell script begins.



10. By shell into the parameter, __ reads the first argument



11. In ____ as a single string, a complete set of the positional parameters is stored.



12. We have to make it executable first by using ___, to run a script



13. ____command is used to spawn a child of our own choice for running a script.



14. For looping with a list what is used?



15. To shift arguments left we use ____ statement.



16. For reading data from the same file containing the script, _______allows us.



17. Any of the commands using standard input takes the input from here document.



18. The loop is a while loop until the loop operates with reverse logic.



19. The internal command in the following is_______



20. A filename is not accepted as an argument by which command?



21. do and the done keyword is used by which loop statements?



22. with interactive programs, the here document can also be used.



23. The program is interrupted by_________ command in appropriate way.



24. To perform a set of instructions repeatedly, Which commands are used?



25. To change filename extensions, which command do we use?



26. To manipulate positional parameters the shell uses which command?



27. In while loop which keywords are used?



28. For command substitution, with the set command which of the following symbol is used?



 

Next Operating System MCQs

Computer Science Repeated MCQs Book Download

Leave a Comment

All Copyrights Reserved 2025 Reserved by T4Tutorials