Shell Scripting MCQ Quiz Hub

Shell Scripting Mcq Question Set 4

Choose a topic to test your knowledge and improve your Shell Scripting skills

Continue statment cannot be used in which loop?





✅ Correct Answer: 4

Which of the following statement causes the current iteration of the loop to exit, rather than the entire loop?





✅ Correct Answer: 1

What is the syntax of continue statement?





✅ Correct Answer: 1

Which symbol is used for taking input from standard input?





✅ Correct Answer: 3

Which of the following symbol(s) can be used to redirect the output to a file or another program?





✅ Correct Answer: 4

The >> symbol is used to overwrite the existing file if it exists and | is used to give input to another program.





✅ Correct Answer: 3

We can redirect the error message to file named newfile using __________ command.





✅ Correct Answer: 4

Which symbol is used to redirect error messages to /dev/null?





✅ Correct Answer: 2

Which command saves one copy of character stream in a file and store the other to standard output?





✅ Correct Answer: 2

Which of the following is not true about tee command?





✅ Correct Answer: 1