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 Linux File Hierarchy System?
a) The Linux File Hierarchy System is also known as Linux Root File System.
b) It is a standard that describes the directory and file structure in the operating system.
c) In different distributions of the Linux operating system, the File Hierarchy system can be a little bit different.
d) It describes where the files are located in the operating system.
Options:

A. A and B

B. C and D

C. B, C, and D

D. A, B, C, and D

Correct Answer :

D. A, B, C, and D


All statements are correct about the File Hierarchy System.

Related Questions

What is the correct answer?

4

Suppose that a text file abc.txt that contains multiple lines, then how to print all complete lines with line numbers using AWK?

A. awk '{print NS,$1}' abc.txt

B. awk '{print NR,$0}' abc.txt

C. awk '{print NR,$1}' abc.txt

D. awk '{print NS,$1}' abc.txt

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 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 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 of the following types of regular expressions are used in the Linux operating system?
a) Basic Regular Expression
b) Extended Regular Expression
c) Crond Regular Expression
d) Perl Regular Expression
Options:

A. A and B

B. A, B, and D

C. A, B, and C

D. A, B, C, and D

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

What is the default size of MTU in the Linux operating system?
a) cat
b) file
c) help
d) man
Options:

A. 1000

B. 1500

C. 2000

D. 2600

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 of the following notations are correct for owners of a file?
a) a
b) o
c) u
d) g
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

Which of the following commands are used to create files in the Linux Operating System?
a) cat
b) echo
c) touch
d) printf
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 preceding character N times or more than N times?

A. (N)

B. (N,)

C. {N}

D. {N,}

What is the correct answer?

4

Which of the following command is used to enable the shell expansion?

A. shell +x

B. shell -x

C. set -x

D. set +

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

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 symbol is used to match the empty string at the beginning of a word?

A. \

B. %

C. $

D. (

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

What is the correct answer?

4

Which of the following keyword is used to specify the time of 4pm in at command for scheduling tasks?

A. breaktime

B. freetime

C. midnight

D. teatime

What is the correct answer?

4

Which exact command is used to see the calendar of the year 2020?

A. cal 2020

B. cal -y 2020

C. calendar 2020

D. None of the above

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 number is used for read permission in the Linux operating system?

A. 4

B. 2

C. 1

D. 0

What is the correct answer?

4

By default, which files store output of the command that executed with nohup utility?

A. nh.out

B. nohup.out

C. nohup.txt

D. nh.txt

What is the correct answer?

4

Which of the following statements are the correct about grep command?
a) This command is used to filter the content of the file.
b) This command is not used to filter the content of the file.
c) We can search the specified word in the file using grep command.
d) There is no grep command that exists in the Linux operating system.
Options:

A. Only A

B. Only A

C. A and B

D. A and C

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

Which command is used to enable/disable password for a particular user?

A. usermod

B. userenable

C. userdisable

D. change

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 command is used to rename a file?

A. rename

B. ren

C. name

D. None of the above

What is the correct answer?

4

There are the following statements are given below, which of them are the correct about the ps command in the Linux system?
a) This command is used to display information about processes running in the system.
b) This command displays the memory occupied by a system call.
c) This command displays the process id of the running processes.
d) This command displays the name of the running processes.
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 exact command is used to change the group of a user in the Linux system?

A. usermod -g

B. usermod -g

C. usermod -c

D. usermod -c

What is the correct answer?

4

Which of the following directory contains the scripts related to service used in the Linux operating system?

A. /etc/services/

B. /etc/scripts/

C. /etc/init.d/

D. /etc/services/scripts/

What is the correct answer?

4

Which of the following command is used to display the memory map of processes in the Linux system?

A. pmap

B. memmap

C. map

D. procmap