31. The file permission 764 means:
32. What is the output of this program?
#include<stdio.h>
int main()
{
int *ptr;
ptr = (int *)calloc(1,sizeof(int));
*ptr = 10;
printf("%d\n",*ptr);
return 0;
}
#include<stdio.h>
int main()
{
int *ptr;
ptr = (int *)calloc(1,sizeof(int));
*ptr = 10;
printf("%d\n",*ptr);
return 0;
}
33. Which one of the following string will print by this program?
#include<stdio.h>
#include<pthread.h>
int main()
{
printf("Example\n");
pthread_exit("Bye");
printf("Linux");
return 0;
}
#include<stdio.h>
#include<pthread.h>
int main()
{
printf("Example\n");
pthread_exit("Bye");
printf("Linux");
return 0;
}
34. What will be output of following command:
$ echo "The process id is" $$$$
$ echo "The process id is" $$$$
35. The next statement
36. The user bhojas logged in and performed the following sequence of command. What will be the output of the last command?
$ cd project/module1
$ pwd
$ cd project/module1
$ pwd
37. In GDB, breakpoints can be set by the command
38. Sticky bit can be set using following permission
39. Which one of the following is used for the target filename in the makefile?
40. Which command is used to extract a column from a text file
Read More Section(Linux)
Each Section contains maximum 100 MCQs question on Linux. To get more questions visit other sections.