Home
Current Affairs January 2024

What is the correct answer?

4

Which exact command is used to show information about specified interface?

A. ip show

B. ip a show

C. ip b show

D. ip show

Correct Answer :

B. ip a show


The 2nd command is used to show information about specified interface.

Related Questions

What is the correct answer?

4

Which of the files gets edited when we create a new in Linux operating system?
a) /etc/group
b) /etc/shadow
c) /etc/gshadow
d) /etc/passwd
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 symbol is used to match the empty string at the edge of a word?

A. \

B. >

C. B

D. 

What is the correct answer?

4

Which of the following command is used to assign a new name to the Linux built commands?

A. newcmd

B. new

C. alias

D. aliasname

What is the correct answer?

4

What are the basic components of the Linux operating system?
a) Kernel
b) Kernel Modules
c) Shared Libraries
d) User Programs
Options:

A. A and B

B. A, B, and C

C. B, C, and D

D. A, B, C, and D

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

There are the following statements that are given below, which of them are correct about Regular expressions in the Linux operating system?
a) The regular expressions are strings that are used for pattern matching in some Linux commands.
b) The regular expressions are also known as a regex.
c) The regular expressions use some characters that each has a different meaning.
d) Regular expressions can only be used in the Linux commands.
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

Why the double ampersands are used in a regular expression?

A. The double ampersands (&&) are used in regular expression for deleting the specified string.

B. The double ampersands (&&) are used in regular expression for replacing the specified string.

C. The double ampersands (&&) are used in regular expression for searching the specified string.

D. None of the above

What is the correct answer?

4

There are the following commands that are given, which of them are correct about the nohup command in the Linux system?
a) The nohup stands for No Hang-up.
b) The nohup stands for Notify Hang-up.
c) The nohup command is used to keeps the processes running, even the terminal gets close by the user.
d) This command is used to prevent the processes from the SIGHUP signals.
Options:

A. A and C

B. B and C

C. B, C, and D

D. A, C, and D

What is the correct answer?

4

There are the following statements that are given below which of them are correct about the tracepath command in the Linux operating system?
a) It is also used for network troubleshooting.
b) This command requires root privileges.
c) By default, it is 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

What is the correct answer?

4

What status is returned on an error by the updatdb command?

A. 0

B. 1

C. 2

D. 3

What is the correct answer?

4

Which of the following Linux command is used to print all environment variables?

A. printenv

B. env

C. envvars

D. envs

What is the correct answer?

4

There are the following statements that are given below, which of them are correct about the id command in the Linux operating system?
a) This command describes the user id.
b) This command describes the group id.
c) This command describes the list of groups belongs to the user.
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 command is used to switch two characters in vi editor?

A. sc

B. xp

C. xc

D. xx

What is the correct answer?

4

Which Linux command is used to create an encrypted password?

A. encrypt passwd

B. secure passwd

C. openssl passwd

D. All the above

What is the correct answer?

4

Which of the following statements are the correct about XXXuniq command?
a) This command is used to delete unique data from a file permanently.
b) This command is used to display a sorted list in which every word will occur only once.
c) We can count the occurrence of a word using uniq command.
d) None of 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

There are the following statements that are given below, which of them are correct about /etc/login.defs file in the Linux operating system?
a) In this file, we can define the maximum number of days a password may be used.
b) In this file, we can define the minimum number of days allowed between password changes.
c) In this file, we can also define the minimum and maximum length of the password.
d) There is no /etc/login.defs file exists in the Linux operating system.
Options:

A. A and B

B. A and C

C. A, B and C

D. D

What is the correct answer?

4

Which run-level is used with the init command to halt the system?

A. 0

B. 1

C. 4

D. 6

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

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

There are the following options that are given below, which of the following security mechanism are used in the Linux operating system?
a) Authentication
b) Authorization
c) Cryptography
d) All the above
Options:

A. A and B

B. B and C

C. A and C

D. D

What is the correct answer?

4

Which of the following directory contains interrupts related files?

A. /proc

B. /dev

C. /var

D. /home

What is the correct answer?

4

Which exact command is used to kill a process by name?

A. killall

B. kill -n

C. kill -p

D. kill -s

What is the correct answer?

4

By default, how many last lines shown by tail command?

A. 5

B. 8

C. 10

D. 12

What is the correct answer?

4

What is the full form of AWK?

A. Active Working Kit

B. Active Well Kudos

C. Aho Weinberger Kernighan

D. Anderson Washington Kernighan

What is the correct answer?

4

Which of the following operator is used to execute multiple commands in a single line?

A. ;

B. %

C. &&

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

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

Which command is used to compress a file?

A. zip

B. gzip

C. ezip

D. mzip

What is the correct answer?

4

Which command is used to check the type of file?

A. type

B. file

C. filetype

D. filetypes

What is the correct answer?

4

In which year vi editor was developed?

A. 1976

B. 1980

C. 1982

D. 1988