Home
Current Affairs January 2024

What is the correct answer?

4

There are the following options that are given below, which of them are correct signals used in the Linux?
a) SIGINT
b) SIGHUP
c) SIGQUIT
d) SIGKILL
Options:

A. A and B

B. A, B, and C

C. A, C, and D

D. A, B, C, and D

Correct Answer :

D. A, B, C, and D


All given options are correct signals used in Linux.

Related Questions

What is the correct answer?

4

Which of the following environment variables contains the path of the user's unique id?

A. UID

B. USERID

C. USRID

D. ID

What is the correct answer?

4

There are the following statements that are given below, which of them are correct about the /sys directory in the Linux operating system?
a) The /sys directory contains kernel related information.
b) The /sys directory contains information about hardware devices.
c) The /sys directory contains user-related information.
d) All the above
Options:

A. A and B

B. A and C

C. B and C

D. B and D

What is the correct answer?

4

Suppose that a text file abc.txt that contains multiple lines, some of the line contains word school. Then how to print only those line who contains school using AWK?

A. awk '/school/ {print}' abc.txt

B. awk -check '/school/ {print}' abc.txt

C. awk -check '/school/ ' abc.txt

D. None of the above

What is the correct answer?

4

Which of the following command is used to replace the current character in the vi editor?

A. R

B. rr

C. r

D. rc

What is the correct answer?

4

Which of the following type of permissions are used for files and directories in the Linux Operating System?
a) Read
b) Write
c) Execute
d) All of the above
Options:

A. A and B

B. B and C

C. A and C

D. D

What is the correct answer?

4

Which command is used to create a new group in the Linux operating system?

A. creategroup

B. addgroup

C. groupadd

D. groupcreate

What is the correct answer?

4

Which of the following statements are the correct about XXXod command?
a) This command is used to display the content of the file in octal format.
b) This command is used to display the content of the file in hexadecimal format.
c) This command is used to display the content of the file in ASCII format.
d) All the above.
Options:

A. A and B

B. A and C

C. B and C

D. D

What is the correct answer?

4

Which of the following built-in variable is used that contains the name of the specified file in the AWK command?

A. NAME

B. FILENAME

C. FNAME

D. FN

What is the correct answer?

4

In which unit, time passed in sleep command by default?

A. Seconds

B. Minutes

C. Milliseconds

D. Microseconds

What is the correct answer?

4

Which exact command is used to down interface eth0 in the Linux operating system?

A. ifconfig down eth0

B. ifdown eth0

C. down eth0

D. ifconfig -d eth0

What is the correct answer?

4

Which of the following symbol is used to match the empty string if it is not at the edge of a word?

A. \

B. >

C. B

D. E

What is the correct answer?

4

Which of the following operator is used to comment lines in a shell script file?

A. //

B. \

C. /**/

D. #

What is the correct answer?

4

There are the following statements that are given below, which of them are correct about vi the editor?
a) The vi editor is also known as a Visual editor.
b) The vi editor is used to create and edit text files.
c) It is a very user-friendly editor and works on different distributions of Linux.
d) vim is the improved version of the vi editor.
Options:

A. A and B

B. C and D

C. A, B, and C

D. A, B, C, and D

What is the correct answer?

4

Which of the following command is used to delete current line from the file?

A. dd

B. r

C. x

D. X

What is the correct answer?

4

Which option is used in sort command, if we want to sort the content of the file based on a specific column number?

A. -c

B. -k

C. -n

D. -f

What is the correct answer?

4

Which of the following symbol is used to run a background process?

A. #

B. &

C. @

D. $

What is the correct answer?

4

Which of the following correct tasks that can be done by AWK?
a) We can scan a file line by line using AWK.
b) It is used to transform data files.
c) It is used to perform operations on matched lines.
d) We can produce formatted reports using AWK.
Options:

A. A and B

B. A, C, and D

C. A, B, and D

D. A, B, C, and D

What is the correct answer?

4

Which of the following command is used to undo the last command in the vi editor?

A. uu

B. x

C. X

D. u

What is the correct answer?

4

Which exact command is used to change from the current directory to the previous directory?

A. cd ..

B. cd ~

C. cd -

D. cd .

What is the correct answer?

4

Which of the following command is used to display only directories that exist in the current directory?

A. ls l | grep ^d

B. ls | grep ^d

C. ls l | grep #d

D. ls l | grep *d

What is the correct answer?

4

Which command is used to rename the existing group?

A. rename

B. rengroup

C. groupmode

D. groupmod

What is the correct answer?

4

What are the correct types of file systems used in the Linux operating system?
a) Ext3
b) Ext4
c) JFS
d) XFS
Options:

A. A and B

B. C and D

C. A, B, and C

D. A, B, C, and D

What is the correct answer?

4

There are the following statements that are given which of them are correct about Linux commands?
a) In the Linux operating system, a command is an instruction to the system to perform a particular task.
b) Linux commands are case sensitive.
c) All Linux commands are scripts written in python.
d) All of the above
Options:

A. A and B

B. A and C

C. B and C

D. D

What is the correct answer?

4

What operations are performed when a new user is created?

A. Creates a new home directory for the user

B. The ownership and permissions are assigned to the home directory

C. Both of the above

D. None of the above

What is the correct answer?

4

Which of the following commands are used to know about the current user?
a) who
b) whoami
c) who am i
d) w
Options:

A. A and B

B. C and D

C. A, B, and C

D. A, B, C, and D

What is the correct answer?

4

Which of the following command is used to move one word forward in the vi editor?

A. b

B. ww

C. w

D. yw

What is the correct answer?

4

Which of the following is used to match any set of characters from the specified file in the grep command?

A. ()

B. {}

C. []

D. ##

What is the correct answer?

4

There are the following statements that are given below, which of them are correct about Linux?
a) Linux is system software.
b) Linux is a multitasking operating system.
c) Linux was developed by Dennis Ritchie
d) Linux is an open-source operating system.
Options:

A. A and B

B. B and C

C. A, C, and D

D. A, B, and D

What is the correct answer?

4

Which of the following directories does not take disk space?
a) /proc
b) /dev
c) /var
d) /home
Options:

A. A and B

B. A, B, and C

C. A, B, and D

D. A, B, C, and D

What is the correct answer?

4

There are the following statements that are given below which of them are correct about traceroute in the Linux operating system?
a) It is a network troubleshooting command which is used to trace the number of hops is required for packets to reach the destination.
b) This command requires root privileges.
c) By default, it is not installed in the Linux system
d) All of the above
Options:

A. A and B

B. B and C

C. A and C

D. D