81. What is the output of the program?
#! /usr/bin/awk -f
BEGIN {
print toupper("eXaMpLe_1_$")
}
#! /usr/bin/awk -f
BEGIN {
print toupper("eXaMpLe_1_$")
}
82. Which is not the correct option for removing a message queue
83. What is the output of this program?
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
int main()
{
char *ptr;
ptr = (char*)malloc(sizeof(char)*8);
strcpy(ptr,"example");
printf("%d\n",*ptr);
return 0;
}
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
int main()
{
char *ptr;
ptr = (char*)malloc(sizeof(char)*8);
strcpy(ptr,"example");
printf("%d\n",*ptr);
return 0;
}
84. The permission -rwSr–r– represented in octal expression will be
85. The command "awk {print $1} test.txt" will
86. What is the output of the following program?
b =
[ -n $b ]
echo $?
[ -z $b ]
echo $?
b =
[ -n $b ]
echo $?
[ -z $b ]
echo $?
87. Given the command
$ chmod o-w datafile
$ chmod o-w datafile
88. By default, a Linux user falls under which group?
89. Which GDB command is used to examine the memory?
90. What is the output of the command awk 'BEGIN {printf "%c\n",65}'
Read More Section(Linux)
Each Section contains maximum 100 MCQs question on Linux. To get more questions visit other sections.