Explore topic-wise MCQs in Testing Subject.

This section includes 657 Mcqs, each offering curated multiple-choice questions to sharpen your Testing Subject knowledge and support exam preparation. Choose a topic below to get started.

1.

WHICH_VARIABLE_WILL_DISPLAY_THE_LIST_OF_THE_POSITIONAL_PARAMETERS??$

A. $
B. $*
C. $?
D. $$
Answer» C. $?
2.

Executing cat /etc/password > /dev/sda as superuser wil?

A. Write data into a regular file called /dev/sda
B. Write data to the physical device sda
C. Create a temporary file /dev/sda and write data to it
D. None of the mentioned
Answer» C. Create a temporary file /dev/sda and write data to it
3.

What is the output of the following command for bash shell?

A.
B. linux echo
C. linux linux
Answer» D.
4.

Which of these is the correct method for appending “foo” in /tmp/bar file?$

A. echo foo > /tmp/bar
B. echo foo >> /tmp/bar
C. echo foo | /tmp/var
D. /tmp/bar < echo foo
Answer» C. echo foo | /tmp/var
Previous Next