Home
Current Affairs January 2024

What is the correct answer?

4

Which of the following commands are external commands in the Linux operating system?
a) cat
b) file
c) help
d) man
Options:

A. A and B

B. C and D

C. A, B, and D

D. A, B, C, and D

Correct Answer :

C. A, B, and D


The cat, file, and man are external commands used in the Linux operating system.

Related Questions

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

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

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

nslookup stands for?

A. Network System lookup

B. Network Server lookup

C. Name Server lookup

D. Next Server lookup

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

There are the following statements that are given below, which of them are correct about GID in the Linux operating system?
a) GID is a group identification number that is used it identify a group in Linux OS.
b) GID is provided by the Linux operating system to the newly created group.
c) GID is provided by the user who created the group in the Linux operating system.
d) GIDs are stored in /etc/group file.
Options:

A. A and B

B. A, B, and D

C. A, B, and C

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

Which of the following command are used for compressed files?
a) zcat
b) zmore
c) zless
d) zgip
Options:

A. A and B

B. A and C

C. A, B, and C

D. A, B, and D

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

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

In the cut command, a delimiter can be?
a) Hyphen
b) Space
c) Slash
d) All of the above
Options:

A. A

B. B

C. C

D. D

What is the correct answer?

4

Suppose that a text file abc.txt that contains multiple lines, then how to print all complete lines with line numbers using AWK?

A. awk '{print NS,$1}' abc.txt

B. awk '{print NR,$0}' abc.txt

C. awk '{print NR,$1}' abc.txt

D. awk '{print NS,$1}' abc.txt

What is the correct answer?

4

Which of the following commands are used to view the content of file screen wise?
a) more
b) less
c) cat
d) tac
Options:

A. A and B

B. C and D

C. A and C

D. B and C

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

Which of the following terminal command is used to send an email?

A. email

B. mail

C. electronicmail

D. mailcmd

What is the correct answer?

4

In Linux, the sed stands for?

A. String Editor

B. Stream Editor

C. Simple Editor

D. Single Editor

What is the correct answer?

4

Which of the following symbol is used to match preceding character N times or more than N times?

A. (N)

B. (N,)

C. {N}

D. {N,}

What is the correct answer?

4

Which of the following command is used to display the last executed commands list?

A. lastcmd

B. last

C. history

D. chistory

What is the correct answer?

4

Which of the following information can be viewed using ifconfig command in the Linux operating system?
a) IP address
b) Mac address
c) MTU
d) All of the above
Options:

A. A

B. A and B

C. A 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 Linux?
a) Linux is system software.
b) Linux is a multitasking operating system.
c) Linux was developed by Dennis Ritchie
d) Linux is an open-source operating system.
Options:

A. A and B

B. B and C

C. A, C, and D

D. A, B, and D

What is the correct answer?

4

Which of the following Linux command is used to remove the value of an environment variable?

A. removeenv

B. remove

C. unset

D. delete

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 option is used to assign permission to directory recursively?

A. -r

B. -R

C. -REC

D. -rec

What is the correct answer?

4

Which of the following information can be displayed using the netstat command?
a) Information about programs related to open socket.
b) Information about routing tables.
c) Statistics about all ports
d) All of the above
Options:

A. A and B

B. B and C

C. A and C

D. D

What is the correct answer?

4

Which of the following command is used to display the calendar?

A. cal

B. calendar

C. calen

D. cln

What is the correct answer?

4

In which unit, time passed in sleep command by default?

A. Seconds

B. Minutes

C. Milliseconds

D. Microseconds

What is the correct answer?

4

There are the following statements that are given below, which of them are correct about the Linux File System?
a) File System is a layer in the Linux operating system, which is used to control the management of storage data.
b) It provides the arrangement of files in the disk storage.
c) It is used to manage information about files like name, size, creation, and modification time.
d) Linux File System is the software that runs only on Intel architecture.
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 view the specified lines from the start of a file?

A. start

B. head

C. beg

D. first

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 exact command is used to multiply 4 by 2 using expr in the Linux System?

A. expr 4 * 2

B. expr 4 /* 2

C. expr 4 * 2

D. expr 4 ^* 2