Home
Current Affairs January 2024

What is the correct answer?

4

Which of the following command is used to search the file(s) within the specified directory?

A. search

B. find

C. fileseach

D. fsearch

Correct Answer :

B. find


The find command is used to search the file(s) within the specified directory.

Related Questions

What is the correct answer?

4

There are the following statements that are given below, which of them are the correct about the service command in the Linux system?
a) The service command is used to start a service by calling the associated script.
b) The service command is used to stop service by calling the associated script.
c) The service command is used to pause a service by calling the associated script.
d) The service command is used to restart a service by calling the associated script.
Options:

A. A and B

B. A, B, and D

C. B, C, and D

D. A, B, C, and D

What is the correct answer?

4

What is the full form of AWK?

A. Active Working Kit

B. Active Well Kudos

C. Aho Weinberger Kernighan

D. Anderson Washington Kernighan

What is the correct answer?

4

Which of the following command is used to check a Linux command is a built-in shell command or external command?

A. cmdtype

B. type

C. ctype

D. commandtype

What is the correct answer?

4

There are the following statements that are given below, which of them are correct about touch command in Linux?
a) It is used to create empty files.
b) It is used to update the timestamp of the existing file.
c) It is used to write formatted data into the file.
d) It is used to view the content of the file.
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 of the following command uses regular expressions in the Linux operating system?
a) grep
b) sed
c) rename
d) bash
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 extract text from binary or executable files in the Linux operating system?

A. strings

B. string

C. str

D. strbin

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

In which year Linux was developed?

A. 1989

B. 1990

C. 1991

D. 1993

What is the correct answer?

4

Which of the following character is used for execute permissions in the Linux operating system?

A. e

B. x

C. E

D. None

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

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

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

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

Which of the following command is not used to extract a compressed file?

A. untar

B. tar

C. gunzip

D. bunzip2

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

How to check the version of the ls command?

A. ls -v

B. ls --v

C. ls -version

D. ls --version

What is the correct answer?

4

What is the range of UIDs is reserved for groups and system accounts?

A. 1-50

B. 51-100

C. 100-999

D. 1000-9999

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 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 directories are known as data directories?
a) /srv
b) /media
c) /home
d) /opt
Options:

A. A and B

B. A, B, and C

C. B, C, and D

D. A, B, C, and D

What is the correct answer?

4

Which of the following Linux command is used to configure a wireless network interface in the Linux operating system?

A. wirelessconfig

B. wconfiguration

C. iwconfig

D. wwconig

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 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 /opt directory comes in which category of directories?

A. Binary directories

B. Data directories

C. Variable directories

D. Memory directories

What is the correct answer?

4

Why the double ampersands are used in a regular expression?

A. The double ampersands (&&) are used in regular expression for deleting the specified string.

B. The double ampersands (&&) are used in regular expression for replacing the specified string.

C. The double ampersands (&&) are used in regular expression for searching the specified string.

D. None of the above