⟩ Where can I find the printer in the file structure? a) /etc b) /dev c) /lib d) /printer
b) /dev
b) /dev
Which command reads user input from the terminal and assign this value to a variable name? a) read b) get c) declare d) set
Which one of the following is not a valid shell variable? a) _san b) san_2 c) _san_2 d) 2_san
In the shell, by default, all variables are considered and stored as a) string b) integer c) character f) float
What is the output of this program? #!/bin/bash san_var=hello readonly san_var san_var=hi echo $san_var exit 0 a) hello b) hi c) nothing will print d) none of the mentioned
What is the output of this program? #!/bin/bash san_var=10 echo "the value of "san_var" is $san_var" exit 0 a) the value of "san_var" is 10 b) the value of is 10 c) the value of san_var is $san_var d) the value of "san_var" is $san_var
Single user mode shell runs as a) Admin user b) Root user c) normal user d) Log user
Which is the only partition mounted in Single user mode? a) boot b) usr c) root d) tmp
Which daemon manages the physical memory by moving process from physical memory to swap space when more physical memory is needed? a) Sched daemon b) Swap daemon c) Init daemon d) Process daemon
The process id of init process is a) -1 b) 0 c) 1 d) 2
The shell used for Single user mode shell is a) bash b) Csh c) ksh d) sh