91. Which among the following is used to write small programs to control Unix functionalities?
92. The file /proc/[PID]/cgroups
93. Which command allows to view the current jobs being handled by the shell?
94. Executing cat /etc/password > /dev/sda as superuser will
95. Kernel objects are exported as . . . . . . . . via sysfs.
96. What is the output of this program?
#!/bin/sh
var="Example"
demo_function() {
var="Linux"
echo $var
}
demo_function
exit 0
#!/bin/sh
var="Example"
demo_function() {
var="Linux"
echo $var
}
demo_function
exit 0
97. The /dev directory contains the
98. Which represents the user home directory
99. Command used to determine the path of an executable file is
100. Code snippets
str1=”45678\n”
str2=”123\n”
f1 = fopen(file1,RDWR,RWX)
f2 = dup(f1)
write(f1,str1,len_str1)
write(f2,str2,len_str2)
o/p:
str1=”45678\n”
str2=”123\n”
f1 = fopen(file1,RDWR,RWX)
f2 = dup(f1)
write(f1,str1,len_str1)
write(f2,str2,len_str2)
o/p:
Read More Section(Linux)
Each Section contains maximum 100 MCQs question on Linux. To get more questions visit other sections.