Linux - Study Mode

[#811] The command "cd /proc/10/cwd" provides the
Correct Answer

(A) current working directory of process having PID 10

[#812] What is the output of this program? #!/bin/sh
test_function1() {
a=5
echo "This is the first function"
test_function2
}
test_function2() {
echo "This is the second function"
test_function3
}
test_function3() {
echo "This is the third function"
}
test_function1
exit 0
Correct Answer

(A) This is the first function This is the second function This is the third function

[#813] "ps" command uses the file . . . . . . . . to provide the information.
Correct Answer

(A) /proc/[PID]/stat

[#814] Which one of the following is not true about GDB?
Correct Answer

(C) if the execution is stopped by kill command then it can not be started again

[#815] In Linux kernel-2.6 Real time priority ranges from
Correct Answer

(A) 0 to 99