Home
Current Affairs January 2024

What is the correct answer?

4

Which of the following Linux distribution does not follow the File Hierarchy System?
a) Ubuntu
b) GoboLinux
c) NixOS
d) Redhat
Options:

A. A and B

B. A and C

C. B and C

D. B and D

Correct Answer :

C. B and C


The GoboLinux and NixOS do not follow the File Hierarchy System, They have their own different standards.

Related Questions

What is the correct answer?

4

Which command is used to print file content in reverse order line wise, it means, the last line will print first and then print the second last line and so on?

A. reverse

B. tac

C. cat

D. gedit

What is the correct answer?

4

Which exact command is used to multiply 4 by 2 using expr in the Linux System?

A. expr 4 * 2

B. expr 4 /* 2

C. expr 4 * 2

D. expr 4 ^* 2

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 of the following symbol is used to match exactly one character?

A. $

B. ?

C. _

D. +

What is the correct answer?

4

Which of the following command is used to get brief information about Linux commands and functions?

A. info

B. incmd

C. whatis

D. cmddocs

What is the correct answer?

4

dig stands for?

A. Domain Information Groper

B. Domain Instruction Gist

C. Double Instruction Groper

D. Double Information Groper

What is the correct answer?

4

Which of the following command is used to print the 3rd column of a specified file?

A. awk '{print $3}

B. awk '{print $2}

C. awk '{print $N2}

D. awk '{print $N3}

What is the correct answer?

4

Which of the following symbol is used to match the empty string if it is not at the edge of a word?

A. \

B. >

C. B

D. E

What is the correct answer?

4

Which exact command is used to remove a directory with its sub-directories?

A. rmdir -a

B. rmdir -p

C. rmdir -s

D. rmdir -k

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

There are the following statements that are given below which of them are correct about piping in the Linux operating system?
a) The piping the process which is used to redirect the output of one command to another command as an input.
b) We use the pipe (|) operator to perform piping.
c) The piping is not supported in Linux; it works only in the UNIX operating system.
d) None of the above
Options:

A. Only A

B. Only B

C. A and B

D. A and C

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 of the following command is used to add a key to the SSH agent?

A. agent

B. ssh-agent

C. add-key

D. ssh-add

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 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 command are used for compressed files?
a) zcat
b) zmore
c) zless
d) zgip
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 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

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

The Linux Kernel is used to?

A. Manage hardware components

B. Execute user programs

C. Save database files

D. All of the above

What is the correct answer?

4

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

A. group

B. chgroup

C. chown

D. chgrp

What is the correct answer?

4

Which of the following command is known as bang bang in the Linux operating system?

A. ##

B. ,

C. !!

D. @@

What is the correct answer?

4

In the cut command, a delimiter can be?
a) Hyphen
b) Space
c) Slash
d) All of the above
Options:

A. A

B. B

C. C

D. D

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

There are the following options that are given below, which of them are correct Linux distributions?
a) Red Hat
b) Ubuntu
c) Arch Linux
d) Fedora
Options:

A. A and B

B. A and D

C. B and D

D. A, B, C, and D

What is the correct answer?

4

Which exact command is used to print lines of the file that are not matching to the specific word?

A. grep -v

B. grep -i

C. grep -k

D. grep -n

What is the correct answer?

4

Which of the following command is used to save and quit from the vi editor?

A. :q

B. :Q

C. :wq

D. :q!

What is the correct answer?

4

Which of the following types of encodings are used by the strings command?
a) 16-bit little endian
b) 16-bit big endian
c) 7-bit byte ASCII
d) None of the above
Options:

A. A and B

B. B and C

C. A, B, and C

D. D

What is the correct answer?

4

What are the popular editors are used in the Linux operating system?
a) Vi
b) Vim
c) Gedit
d) Nano
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 commands are built-in shell commands in the Linux operating system?
a) pwd
b) cd
c) export
d) echo
Options:

A. A and B

B. C and D

C. A, B, and C

D. A, B, C, and D