Home
Current Affairs January 2024

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

Correct Answer :

A. A and B


The man and info commands are used to display the information about the Linux commands.

Related Questions

What is the correct answer?

4

How can we shut down the system immediately using the shutdown command?

A. shutdown immediate

B. shutdown now

C. shutdown n

D. shutdown final

What is the correct answer?

4

There are the following statements that are given below, which of them are correct about /etc/login.defs file in the Linux operating system?
a) In this file, we can define the maximum number of days a password may be used.
b) In this file, we can define the minimum number of days allowed between password changes.
c) In this file, we can also define the minimum and maximum length of the password.
d) There is no /etc/login.defs file exists in the Linux operating system.
Options:

A. A and B

B. A and C

C. A, 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 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

In Linux File System, which symbol is used before filename in case of hidden files?

A. #

B. $

C. Dot (.)

D. @

What is the correct answer?

4

Which of the following command is used to delete the character before cursor in the vi editor?

A. X

B. x

C. D

D. d

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. 

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

Which of the following statements are the correct about XXXsed command?
a) The sed command is used to display modified data on the console screen, actual data in the file remain the same.
b) The sed command is used to modify the data of a file permanently.
c) The regular expressions are used to display modified data of a file in the sed command.
d) The sed command does not use regular expressions.
Options:

A. A and C

B. A and D

C. B and C

D. B and D

What is the correct answer?

4

There are the following options that are given below, which of them are correct directory types in the Linux operating system?
a) Binary directories
b) Data directories
c) Variable directories
d) Memory directories
Options:

A. A and B

B. A and C

C. A, B, and D

D. A, B, C, and D

What is the correct answer?

4

There are the following statements that are given below, which of them are correct about Linux shell?
a) Linux shell is a part of Linux kernel.
b) Linux shell provides an environment to execute commands.
c) Linux shell is used to execute scripts.
d) Linux shell is used to operate GPIO pins in the kernel.
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 command is used to see what permissions will be provided to the newly created file by default?

A. default

B. unmask

C. permissions

D. defperm

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

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 of the following operator is used to store the exit code of a previous command?

A. $?

B. %$

C. ?&

D. ?@

What is the correct answer?

4

Which of the following is used to match any set of characters from the specified file in the grep command?

A. ()

B. {}

C. []

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 Linux command is used to display information regarding file systems about the total space and free space?

A. file

B. info

C. df

D. ds

What is the correct answer?

4

Which command is used to read data from the standard input device and write to the standard output and one or more files?

A. tea

B. tei

C. tie

D. tee

What is the correct answer?

4

Which of the following statements are the correct about XXXsort command?
a) This command is used to sort the content of a file in alphabetical order.
b) This command is used to sort the content of a file based on the column.
c) This command is used for numeric sorting bases on the column.
d) None of the Above.
Options:

A. A and B

B. A and C

C. A, 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 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

Which of the following types of regular expressions are used in the Linux operating system?
a) Basic Regular Expression
b) Extended Regular Expression
c) Crond Regular Expression
d) Perl Regular Expression
Options:

A. A and B

B. A, B, and D

C. A, B, and C

D. A, B, C, and D

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

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

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 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 Linux command is used to access external storage devices like pen-drive into the Linux file system?

A. attach

B. access

C. mount

D. umount

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

There are the following statements that are given below, which of them are correct about Globbing?
a) The Globbing is used to recognize the wildcard characters and then expand them into path-name.
b) The Globbing is also known as path-name expansion.
c) The File Globbing is not supported by the Linux operating system.
d) All the above
Options:

A. A and B

B. A and C

C. A, B, and C

D. D

What is the correct answer?

4

Which of the following is not the correct option used with route command?

A. add

B. delete

C. -net

D. -host