Home
Current Affairs January 2024

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

Correct Answer :

A. A and B


Statements A and B are correct about commands in the Linux operating system.

Related Questions

What is the correct answer?

4

Which of the following type of permissions are used for files and directories in the Linux Operating System?
a) Read
b) Write
c) Execute
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

What is the full form of JFS?

A. Just File System

B. Journaled File System

C. Joint File System

D. Joker File System

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 command is used to create a new group in the Linux operating system?

A. creategroup

B. addgroup

C. groupadd

D. groupcreate

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

What is the full form of GPL in Linux licensing?

A. Global Public License

B. General Private License

C. General Public License

D. Global Private License

What is the correct answer?

4

Which of the following option is used in grep command to search specific words from a file by ignoring case?

A. -a

B. -i

C. -c

D. -ing

What is the correct answer?

4

By default, which files store output of the command that executed with nohup utility?

A. nh.out

B. nohup.out

C. nohup.txt

D. nh.txt

What is the correct answer?

4

Which of the following directory contains device files?

A. /device

B. /devfile

C. /dev

D. /sys

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

There are the following statements that are given below, which of them are the correct about the uptime command in the Linux system?
a) We can get the current system time using uptime command.
b) We can get the number of users logged in, using uptime command.
c) This command also displays CPU load average.
d) This command also displays the duration for which the computer has been running.
Options:

A. A and B

B. B and D

C. A, B, and D

D. A, B, C, and D

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

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

There are the following commands that are given, which of them are correct about the nohup command in the Linux system?
a) The nohup stands for No Hang-up.
b) The nohup stands for Notify Hang-up.
c) The nohup command is used to keeps the processes running, even the terminal gets close by the user.
d) This command is used to prevent the processes from the SIGHUP signals.
Options:

A. A and C

B. B and C

C. B, C, and D

D. A, C, and D

What is the correct answer?

4

Which exact command is used to set subnet mask in the Linux operating system?

A. ifconfig subnet

B. ifconfig subnet

C. ifconfig netmask

D. ifconfig netmask

What is the correct answer?

4

Which file contains encrypted user's passwords?

A. /etc/passwords

B. /etc/shadow

C. /etc/pwd

D. /etc/pwds

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 characters are used for wildcards in the Linux operating system?
a) ?
b) *
c) []
d) <> 
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 commands are used to kill a running process in the Linux system?
a) kill
b) killall
c) pkill
d) xkill
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 command is used to know information about a password?

A. change

B. knowpass

C. passinf

D. info

What is the correct answer?

4

Which of the following commands are used to switch from command mode to insert mode in the vi editor?
a) i
b) a
c) o
d) O
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 commands are used to download files from a specified URL?
a) curl
b) wget
c) filedownload
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

Which of the following command is used to replace the specific word, for example we want to replace inclusion by exclusion?

A. echo inclusion | sed 's/in/ex'

B. echo inclusion | sed 's/ex/in'

C. echo inclusion | sed 'r/in/ex'

D. echo inclusion | sed 'R/in/ex'

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

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 exact command is used to change the group of a user in the Linux system?

A. usermod -g

B. usermod -g

C. usermod -c

D. usermod -c

What is the correct answer?

4

Which of the following operator is used to execute multiple commands in a single line?

A. ;

B. %

C. &&

D. ||

What is the correct answer?

4

Which of the following mode(s) are used in the vi editor?

A. Insert mode

B. Command mode

C. Both of the above

D. None of the above

What is the correct answer?

4

Which command is used to rename a file?

A. rename

B. ren

C. name

D. None of the above

What is the correct answer?

4

Which of the following is known as match operator in AWK?

A. =

B. !

C. ~

D. ==