Home
Current Affairs January 2024

What is the correct answer?

4

There are the following statements that are given below, which of them are correct about Btrfs File System in Linux?
a) This file system does not use for production purposes.
b) It is used for fault tolerance.
c) It is used for extensive storage configuration.
d) It is used the extended version of JFS.
Options:

A. A and B

B. C and D

C. A, B, and C

D. A, B, C, and D

Correct Answer :

C. A, B, and C


Statements A, B, and C are correct about Btrfs File System.

Related Questions

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

Which of the following command is used to print the number of lines that exist in the specified file?

A. awk 'END { print NL }'

B. awk 'END { print N }'

C. awk 'END { print NR }'

D. awk 'END { print NN }'

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 of the following command is used to know about the swap memory of the system?

A. swapmem

B. free

C. sw

D. sp

What is the correct answer?

4

How can we view and add content in the kernel ARP table?

A. arpmod

B. arpalter

C. arptable

D. arp

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

How can we differentiate between file and directory from the output of ls command?

A. Directories are mentioned in capital letters in the output of ls command.

B. The d character is used before permissions in the output of ls command.

C. Both of the above

D. None of the above

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 exact command is used to list the files and directories along with hidden files?

A. ls -l

B. ls -k

C. ls -a

D. ls -n

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 command is used to change the owner of a file?

A. owner

B. chgown

C. chown

D. changeowner

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 is not the inbuilt variable in AWK?

A. NR

B. NF

C. FN

D. FILENAME

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

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 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 statements that are given below, which of them are correct types of files in Linux?
a) Executable file
b) Device file
c) Named pipe file
d) Block file
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 information can be viewed using ifconfig command in the Linux operating system?
a) IP address
b) Mac address
c) MTU
d) All of the above
Options:

A. A

B. A and B

C. A and C

D. D

What is the correct answer?

4

Which exact command is used to find files whose permissions are 765 in the current directory?

A. find . -perm 765

B. find . -per 765

C. find . -p 765

D. find . -prm 765

What is the correct answer?

4

Which command is used to know about groups that belong to the current user?

A. grouplist

B. groups

C. groupinfo

D. groupinformation

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

Which of the following command is used to copy a line in the vi editor?

A. CC

B. cc

C. YY

D. yy

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

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 commands are used to display the information about the Linux commands?
a) man
b) info
c) infocmd
d) All the above
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

There are the following options that are given below, which of them are the correct environment variable used in the Linux operating system?
a) SHELL
b) TERM
c) PATH
d) HOME
Options:

A. A and B

B. C and D

C. A, C, and D

D. A, B, C, and D

What is the correct answer?

4

Which of the following are correct types of shells used in the Linux operating system?
a) Bourne shell
b) Korn shell
c) Bourne Again shell
d) POSIX shell
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 Linux command is used to assign a password to the created user?

A. password

B. newpass

C. passwd

D. pwd

What is the correct answer?

4

Which of the following directories contains binary files?
a) /sbin
b) /lib
c) /bin
d) /var
Options:

A. A and B

B. A and C

C. A, B, and C

D. A, B, C, 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. ##