Home
Current Affairs January 2024

What is the correct answer?

4

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

A. \

B. >

C. B

D. 

Correct Answer :

D. 


The backslash b () is used to match the empty string at the edge of a word.

Related Questions

What is the correct answer?

4

There are the following statements that are given below, which of them are correct system libraries in Linux operating system?
a) System libraries are a special program.
b) We can use kernel functionalities using system libraries.
c) System libraries are user programs.
d) System libraries used system calls.
Options:

A. A and B

B. B and C

C. A, B, and D

D. A, B, and C

What is the correct answer?

4

Which of the following character is used to identify the symbolic link file in the output of ls command?

A. s

B. c

C. l

D. _

What is the correct answer?

4

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

A. usermod -D

B. usermod -d

C. usermod -l

D. usermod -L

What is the correct answer?

4

Which of the following environment variables contains the path of the user's unique id?

A. UID

B. USERID

C. USRID

D. ID

What is the correct answer?

4

Which of the following modes are used to assign permission to the file in the Linux operating system?

A. Numeric mode

B. Symbolic mode

C. Both

D. None

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 Regular expressions in the Linux operating system?
a) The regular expressions are strings that are used for pattern matching in some Linux commands.
b) The regular expressions are also known as a regex.
c) The regular expressions use some characters that each has a different meaning.
d) Regular expressions can only be used in the Linux commands.
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 command is used to create multiple directories in a single command?

A. md

B. mkdir

C. makedir

D. mkdirs

What is the correct answer?

4

There are the following statements that are given below, which of them are the correct about the last command in the Linux system?
a) This command displays the information about the last logged in timing for the user.
b) The last command is used to display the last executed process in the system.
c) This command displays IP address, username, and duration of logging in.
d) The log information is stored in the /var/log/wtmp file.
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

What are the basic components of the Linux operating system?
a) Kernel
b) Kernel Modules
c) Shared Libraries
d) User Programs
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 command is used to compress a file?

A. zip

B. gzip

C. ezip

D. mzip

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 directory contains C language header files?

A. /usr/cfiles

B. /usr/include

C. /usr/headers

D. /usr/includes

What is the correct answer?

4

Which of the following symbol is used to represent the group of characters?

A. /

B. \

C. +

D. -

What is the correct answer?

4

Which exact command is used to list the files and directories along with hidden files?

A. ls -l

B. ls -k

C. ls -a

D. ls -n

What is the correct answer?

4

Which Linux command is used to un-mount the external storage devices from the Linux file system?

A. unmount

B. umount

C. nmount

D. None of the above

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

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 is used to move one word forward in the vi editor?

A. b

B. ww

C. w

D. yw

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

The scope of an environment variable can be?

A. Local

B. Global

C. Both

D. None

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 exact command is used to see the permissions of a file in the Linux operating system?

A. perms

B. file -perm

C. ls -l

D. ls -perm

What is the correct answer?

4

There are the following statements that are given below, which of them are correct about the /var directory in the Linux operating system?
a) This directory contains log files.
b) This directory contains cache files.
c) This directory contains spool files.
d) All the above
Options:

A. A and B

B. A and C

C. B and C

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

There are the following statements that are given which of them are correct about Linux commands?
a) In the Linux operating system, a command is an instruction to the system to perform a particular task.
b) Linux commands are case sensitive.
c) All Linux commands are scripts written in python.
d) All of the above
Options:

A. A and B

B. A and C

C. B and C

D. D

What is the correct answer?

4

There are the following statements that are given below, which of them are correct about AWK in the Linux operating system?
a) AWK is a scripting language, which is used to perform operations on data and generate reports.
b) The compilation is not required for AWK programs.
c) The compilation is required for AWK programs.
d) We can use logical operators, string functions, and numeric functions in AWK programs.
Options:

A. A and B

B. A and D

C. A, B, and D

D. A, C, and D

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 not used to extract a compressed file?

A. untar

B. tar

C. gunzip

D. bunzip2