Home
Current Affairs January 2024

What is the correct answer?

4

Which of the following directory contains interrupts related files?

A. /proc

B. /dev

C. /var

D. /home

Correct Answer :

A. /proc


The /proc directory contains interrupts related files.

Related Questions

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

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

There are the following statements that are given below which of them are correct about the host command in the Linux operating system?

A. This command is used to display domain name for specified IP address.

B. This command is used to display an IP address for the specified domain name.

C. Both of the above

D. None of the above

What is the correct answer?

4

Which of the following types of arguments or operators are supported by expr command?
a) Plus '+' operator
b) Modulus operator
c) Regular expressions
d) Set of characters in the string
Options:

A. A and C

B. A and B

C. A, B, and C

D. A, B, C, and D

What is the correct answer?

4

Which exact command is used to create a user with a specified name for the home directory, here we will create a user with user1 name and name of the home directory will be MyHome?

A. useradd -m /MyHome user1

B. useradd -m -d /MyHome user1

C. useradd -m -h /MyHome user1

D. useraddhome /MyHome user1

What is the correct answer?

4

Which of the following terminal command is used to send an email?

A. email

B. mail

C. electronicmail

D. mailcmd

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

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

In Linux, the sed stands for?

A. String Editor

B. Stream Editor

C. Simple Editor

D. Single Editor

What is the correct answer?

4

What is the full form of MTU?

A. Maximum Transmission Unit

B. Minimum Transmission Unit

C. Multiple Transmission Unit

D. Minimum Transactional Unit

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

Which of the following command is used to change the owner of a file?

A. owner

B. chgown

C. chown

D. changeowner

What is the correct answer?

4

There are the following statements that are given below, which of them are the correct about the last command in the Linux system?
a) This command displays the information about the last logged in timing for the user.
b) The last command is used to display the last executed process in the system.
c) This command displays IP address, username, and duration of logging in.
d) The log information is stored in the /var/log/wtmp file.
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

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

What is the full form of JFS?

A. Just File System

B. Journaled File System

C. Joint File System

D. Joker File System

What is the correct answer?

4

Which of the following Linux command is used to remove the value of an environment variable?

A. removeenv

B. remove

C. unset

D. delete

What is the correct answer?

4

Which of the following option is used for a basic regular expression in the grep command?

A. -B

B. -G

C. -P

D. -E

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

What is the correct answer?

4

Which command is used to view the specified lines from the start of a file?

A. start

B. head

C. beg

D. first

What is the correct answer?

4

There are the following statements that are given below, which of them are correct about bang bang command in the Linux operating system?

A. The bang bang command is used to remove commands history.

B. The bang bang command is used to remove execute last executed command.

C. The bang bang command is used to display the last login time of the current user.

D. None of the above

What is the correct answer?

4

Which of the following commands are used to download files from a specified URL?
a) curl
b) wget
c) filedownload
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

Which Linux command is used to un-mount the external storage devices from the Linux file system?

A. unmount

B. umount

C. nmount

D. None of the above

What is the correct answer?

4

Which of the following command is used to compress a directory?

A. gzip

B. dzip

C. tar

D. rat

What is the correct answer?

4

How to print lines of a given text file from line number 2 to 4 using AWK?

A. awk 'NR==2, NR==4 {print NR,$0}'

B. awk 'NR==2 to NR==4 {print NR,$0}'

C. awk 'NR==2-4 {print NR,$0}'

D. awk 'NR==2,4 {print NR,$0}'

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 Linux command is used to transfer files to the remote computer?

A. cp

B. copy

C. ssh-copy

D. scp

What is the correct answer?

4

Which command is used to check the access and modification time of a file in Linux?

A. check

B. filetimes

C. state

D. file

What is the correct answer?

4

Which of the following command is not used to extract a compressed file?

A. untar

B. tar

C. gunzip

D. bunzip2

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