51. Pipes are used rather than temporary files for communication between the various stages of compilation in gcc when
52. What is the output of this pogram?
#! /usr/bin/awk -f
BEGIN {
system("date")
print "example"
}
#! /usr/bin/awk -f
BEGIN {
system("date")
print "example"
}
53. What is the output of the program?
#! /usr/bin/awk -f
BEGIN {
a[1]="example"
a[2]="example"
for(i=1;i<3;i++) {
print a[i]
}
}
#! /usr/bin/awk -f
BEGIN {
a[1]="example"
a[2]="example"
for(i=1;i<3;i++) {
print a[i]
}
}
54. Effective group id can be set using following permission
55. What is makefile?
56. What is the output of the program?
#! /usr/bin/awk -f
BEGIN {
a=int(2.5)
print (a*20)
}
#! /usr/bin/awk -f
BEGIN {
a=int(2.5)
print (a*20)
}
57. What is phony target in the makefile?
58. Which of the following commands can be used to change default permissions for files and directories at the time of creation
59. What is the use of strace command?
60. This program will print the
#include<stdio.h>
#include<sys/time.h>
#include<sys/resource.h>
int main()
{
struct rlimit limit;
getrlimit(RLIMIT_FSIZE,&limit);
printf("%lu\n",limit.rlim_cur);
printf("%lu\n",limit.rlim_max);
return 0;
}
#include<stdio.h>
#include<sys/time.h>
#include<sys/resource.h>
int main()
{
struct rlimit limit;
getrlimit(RLIMIT_FSIZE,&limit);
printf("%lu\n",limit.rlim_cur);
printf("%lu\n",limit.rlim_max);
return 0;
}
Read More Section(Linux)
Each Section contains maximum 100 MCQs question on Linux. To get more questions visit other sections.