⟩ The gcc option -Wunused warns when a _____ variable is unused aside from its declaration. a) variable b) function c) macro d) none of the mentioned
a) variable
a) variable
If a program executing in background attempts to read from STDIN a) It is terminated b) It's execution is suspended c) STDIN is made available to it d) None of the mentioned
Which of the following identifiers associated with a process decide its privilege level a) uid b) suid c) euid d) gid
How to run a process in the background? a) & b) * c) ? d) |
User id 0 is a) An invalid user id b) The id of the root user c) The id of a user when the user's account is deleted d) None of the above
The /etc/passwd file doesn't contain a) userid b) home directory for a user c) login shell name d) None of the above
The login shell is a) The shell program that runs when the user logs in b) The shell program that authenticates the user while logging in c) Common shell for all the users that belong to the same group d) None of the above
By default, a Linux user falls under which group? a) staff b) others c) same as userid (UPG) d) system
Which of the following command can be used to change the user password? a) User can't change the password b) passwd c) passd d) pwd
What is a context switch? a) Kernel switches from executing one process to another. b) Process switches from kernel mode to user mode. c) Process switches from user mode to kernel mode. d) None of the above
What is the default maximum number of processes that can exist in Linux? a) 32768 b) 1024 c) 4096 d) unlimited