Home
Current Affairs January 2024

What is the correct answer?

4

The /opt directory comes in which category of directories?

A. Binary directories

B. Data directories

C. Variable directories

D. Memory directories

Correct Answer :

A. Binary directories


The /opt is a binary directory that contains binary files.

Related Questions

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

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

The grep stands for?

A. Global Regular Expression Print

B. General Regular Expression Pegging

C. General Regular Expression Post

D. Global Regular Expression Post

What is the correct answer?

4

Which of the following statements are correct about whois command?

A. We can get name servers of a website using whois command.

B. The whois command is used to get domain name and registry information for a website.

C. Both of the above

D. None of the above

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

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

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 of the following command is used to forward search for given string in the vi editor?

A. ?string

B. /string

C. string

D. #string

What is the correct answer?

4

How can we shut down the system by notifying all users?

A. Using init 0 command

B. Using init 6 command

C. Using shutdown command

D. Using turnoff command

What is the correct answer?

4

Which of the following command is used to move up in the vi editor?

A. I

B. h

C. j

D. k

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

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 commands are used to know about the current user?
a) who
b) whoami
c) who am i
d) w
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 directory contains grub configuration file?

A. /lib

B. /usr

C. /boot

D. /etc

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

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 view the specified lines from the start of a file?

A. start

B. head

C. beg

D. first

What is the correct answer?

4

What status is returned on an error by the updatdb command?

A. 0

B. 1

C. 2

D. 3

What is the correct answer?

4

Which of the following are non-standard directories?
a) /lost+found
b) /var
c) /run
d) /cdrom
Options:

A. A and B

B. A and C

C. A, C, and D

D. A, B, C, and D

What is the correct answer?

4

Which of the following option is used to mention delimiter in the cut command?

A. -del

B. -d

C. -delmiter

D. -delm

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 statements are the correct about XXXcomm command?
a) The comm command is used to compare the data of two files.
b) It displays three columns in the output by default.
c) It displays two columns in the output by default.
d) The comm command is used to communicate with the TCP socket.
Options:

A. A

B. B

C. A and B

D. C and 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 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 command is used to remove an existing alias?

A. rmalias

B. unalias

C. delalias

D. ralials

What is the correct answer?

4

Which of the following symbol is used to match exactly one character?

A. $

B. ?

C. _

D. +