Home
Current Affairs January 2024

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

Correct Answer :

D. A, B, C, and D


All given options are correct Linux distributions.

Related Questions

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

Which command is used to querying DNS to get mapping information about the domain name and IP address?

A. netstate

B. nslookup

C. netinfo

D. domainlookup

What is the correct answer?

4

Which of the following is not a data directory?

A. /mnt

B. /root

C. /home

D. /proc

What is the correct answer?

4

Which of the following command is used to quit with discarding changes from the vi editor?

A. :q

B. :Q

C. ZZ

D. :q!

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

Which of the following directories that contain the shared libraries in the Linux System?

A. /sbin

B. /lib

C. /bin

D. /opt

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 command is used to delete till the end of the line in the vi editor?

A. $

B. d$

C. d0

D. DD

What is the correct answer?

4

Which of the following operator is used to set and override the permission of a file in chmod command?

A. +

B. =

C. *

D. -

What is the correct answer?

4

Which of the following command is used to perform mathematical expression and print output on the terminal?

A. expr

B. exp

C. calexp

D. calexpr

What is the correct answer?

4

Which command is used to know information about a password?

A. change

B. knowpass

C. passinf

D. info

What is the correct answer?

4

Which of the following directories that contain the executable binary files that require root privileges to perform tasks?

A. /sbin

B. /lib

C. /bin

D. /opt

What is the correct answer?

4

Suppose that a text file abc.txt that contains multiple lines, some of the line contains word school. Then how to print only those line who contains school using AWK?

A. awk '/school/ {print}' abc.txt

B. awk -check '/school/ {print}' abc.txt

C. awk -check '/school/ ' abc.txt

D. None of the above

What is the correct answer?

4

What are interfaces are supported by the Linux operating system?

A. Graphical User Interface

B. Command Line Interface

C. Both of the above

D. None of the above

What is the correct answer?

4

Which of the following environment variable is used to specify the number of commands history in the current environment?

A. $HISTSIZE

B. $HISSIZE

C. $HISTORYSIZE

D. $HSIZE

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 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 copy a line in the vi editor?

A. CC

B. cc

C. YY

D. yy

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

What is the full form of GPL in Linux licensing?

A. Global Public License

B. General Private License

C. General Public License

D. Global Private License

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

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

What is the full form of OFS in AWK?

A. Object Field Separator

B. Obsolete Field Separator

C. Officiated Field Separator

D. Output Field Separator

What is the correct answer?

4

There are the following statements that are given below, which of them are correct about files in Linux?
a) The file can be a text, image, audio, and video file.
b) A device is also represented as a file in the Linux operating system.
c) A directory is also a file.
d) Disk partitions are also represented as a file.
Options:

A. A and B

B. A and C

C. A, B, C, and D

D. B, C, and D

What is the correct answer?

4

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

A. 0

B. 1

C. 4

D. 6

What is the correct answer?

4

Which of the following signal is used to PAUSE and STOP the processes?

A. SIGSTOP

B. SIGSTP

C. SIGPAUSE

D. SIGPS

What is the correct answer?

4

In which year vi editor was developed?

A. 1976

B. 1980

C. 1982

D. 1988

What is the correct answer?

4

In which year Linux was developed?

A. 1989

B. 1990

C. 1991

D. 1993

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 of the following command is used to replace the specific word, for example we want to replace inclusion by exclusion?

A. echo inclusion | sed 's/in/ex'

B. echo inclusion | sed 's/ex/in'

C. echo inclusion | sed 'r/in/ex'

D. echo inclusion | sed 'R/in/ex'