Home
Current Affairs January 2024

What is the correct answer?

4

Which exact command is used to kill a running process using process id?

A. killall

B. kill -9

C. kill -p

D. kill -s

Correct Answer :

B. kill -9


Related Questions

What is the correct answer?

4

Which exact command is used to set subnet mask in the Linux operating system?

A. ifconfig subnet

B. ifconfig subnet

C. ifconfig netmask

D. ifconfig netmask

What is the correct answer?

4

What are interfaces are supported by the Linux operating system?

A. Graphical User Interface

B. Command Line Interface

C. Both of the above

D. None of the above

What is the correct answer?

4

Which exact command is used to assign all read, write and execute permission to all owners of a file?

A. chmod 7

B. chmod 777

C. chown 777

D. chgrp 777

What is the correct answer?

4

Which of the following information can be displayed using the netstat command?
a) Information about programs related to open socket.
b) Information about routing tables.
c) Statistics about all ports
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

There are the following statements that are given below, which of them are correct about Wildcards in the Linux operating system?
a) Wildcards are the string patterns that contain some special characters.
b) Wildcards are used to perform actions on one or more file that uses the same pattern.
c) Linux shell used wildcard characters for globbing.
d) All the above
Options:

A. A and B

B. A and C

C. A, B, and C

D. D

What is the correct answer?

4

There are the following statements that are given below which of them are correct about the ss command in the Linux operating system?
a) The ss command is the replacement for the netstat command.
b) It is faster than the netstat command.
c) We can display all UDP and TCP socket connections using ss command.
d) The ss can display all TCP socket connections only.
Options:

A. A and B

B. A and C

C. A, B, and C

D. A, B, and D

What is the correct answer?

4

Which command is used to get the path of the current directory?

A. cdir

B. dir

C. pwd

D. pdir

What is the correct answer?

4

There are the following options that are given below, which of them are not correct environment variables used in the Linux operating system?

A. USERID

B. ENV

C. EDITOR

D. USER

What is the correct answer?

4

Which of the following statements are the correct about XXXwc command?
a) This command is used to count the lines of a file.
b) This command is used to count the words of a file.
c) This command is used to count the characters of a file.
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 is known as match operator in AWK?

A. =

B. !

C. ~

D. ==

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

Which of the following commands are used to switch from command mode to insert mode in the vi editor?
a) i
b) a
c) o
d) O
Options

A. A and B

B. A and C

C. A, C, and D

D. A, B, C, and D

What is the correct answer?

4

Which of the following commands are used to kill a running process in the Linux system?
a) kill
b) killall
c) pkill
d) xkill
Options:

A. A and B

B. A, B, and C

C. A, C, and D

D. A, B, C, and D

What is the correct answer?

4

What is the full form of ORS in AWK?

A. Output Record Separator

B. Output Record Symbol

C. Output Resumed Symbol

D. Object Record Separator

What is the correct answer?

4

There are the following statements that are given below, which of them are correct about touch command in Linux?
a) It is used to create empty files.
b) It is used to update the timestamp of the existing file.
c) It is used to write formatted data into the file.
d) It is used to view the content of the file.
Options:

A. A and B

B. B and C

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

There are the following statements that are given below, which is correct about the SHELL environment variables in Linux operating system?

A. This environment variable is used to execute shell scripts.

B. This environment variable contains the path of shell which is being used by the user.

C. This environment variable contains the path of the compiler which is used for shell script compilation.

D. This environment variable is set by default with the username.

What is the correct answer?

4

If we want to assign read and execute permission to the file then which number is used in the chmod command to assign permission?

A. 5

B. 6

C. 7

D. 3

What is the correct answer?

4

Which of the following command is used to move left in vi editor?

A. I

B. h

C. j

D. k

What is the correct answer?

4

Which command is used to see what permissions will be provided to the newly created file by default?

A. default

B. unmask

C. permissions

D. defperm

What is the correct answer?

4

Which Linux command is used to check disk usage of files and directories?

A. diskinf

B. diskuse

C. du

D. fileinf

What is the correct answer?

4

Which of the following statements are the correct about XXXsort command?
a) This command is used to sort the content of a file in alphabetical order.
b) This command is used to sort the content of a file based on the column.
c) This command is used for numeric sorting bases on the column.
d) None of the Above.
Options:

A. A and B

B. A and C

C. A, B, and C

D. 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

There are the following statements that are given below, which of them are correct about environment variables in Linux operating system?
a) The environment variables are used to store some values that can be used by the application.
b) The environment variables are used to customize the behavior of the applications.
c) The environment variables can impact the performance of the system.
d) The environment variable used a % symbol for variables.
Options:

A. A and B

B. C and D

C. A, B, and C

D. B, C, and D

What is the correct answer?

4

Which of the following directory contains C language header files?

A. /usr/cfiles

B. /usr/include

C. /usr/headers

D. /usr/includes

What is the correct answer?

4

How to change the normal user to root user using the terminal in the Linux operating system?

A. Using sudo command

B. Using su command

C. Using super command

D. None of the above

What is the correct answer?

4

Which of the following command is used to paste before the current line in the vi editor?

A. y

B. Y

C. p

D. P

What is the correct answer?

4

There are the following options that are given below, which is not a correct Linux distribution?

A. CentOS

B. Linux mint

C. SunOS

D. OpenSUSE

What is the correct answer?

4

Which of the following commands is used to create a new user in the Linux operating system?

A. createuser

B. adduser

C. useradd

D. user

What is the correct answer?

4

Which of the following command is used to delete scheduled tasks?

A. atrm

B. atdl

C. atdel

D. rmtask