Home
Current Affairs January 2024

What is the correct answer?

4

Which of the following command is used to add a key to the SSH agent?

A. agent

B. ssh-agent

C. add-key

D. ssh-add

Correct Answer :

D. ssh-add


The ssh-add is used to add a key to the SSH agent.

Related Questions

What is the correct answer?

4

A Linux operating system supports?
a) Multitasking
b) Multiprogramming
c) Multiuser
d) Multithreading
Options:

A. A and C

B. A, C and D

C. A, B, and C

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 responsibilities of the kernel?
a) Device management
b) Memory management
c) Creation of user programs
d) Process management
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 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 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

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

There are the following statements that are given below, which of them are correct about root directory in Linux?
a) All directories have come inside the root directory in the Linux operating system.
b) The root directory is represented by a forward slash (/).
c) The root directory is represented by a backward slash (/).
d) The root directory is the part of Linux Kernel
Options:

A. A and B

B. A and C

C. A, B, and C

D. A, B, C, and D

What is the correct answer?

4

What status is returned on an error by the updatdb command?

A. 0

B. 1

C. 2

D. 3

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

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 command is used to print file content in reverse order line wise, it means, the last line will print first and then print the second last line and so on?

A. reverse

B. tac

C. cat

D. gedit

What is the correct answer?

4

How to change the normal user to root user using the terminal in the Linux operating system?

A. Using sudo command

B. Using su command

C. Using super command

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

What is the correct answer?

4

Which exact command is used to kill a process by name?

A. killall

B. kill -n

C. kill -p

D. kill -s

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 directories contains configuration files?
a) /opt
b) /var
c) /boot
d) /etc
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 exact command is used to display only matched data of two files?

A. comm -13

B. comm -23

C. comm -12

D. None of the above

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

The grep stands for?

A. Global Regular Expression Print

B. General Regular Expression Pegging

C. General Regular Expression Post

D. Global Regular Expression Post

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 of the following command is used to copy a line in the vi editor?

A. CC

B. cc

C. YY

D. yy

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 id command in the Linux operating system?
a) This command describes the user id.
b) This command describes the group id.
c) This command describes the list of groups belongs to the user.
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

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 is not the inbuilt variable in AWK?

A. NR

B. NF

C. FN

D. FILENAME

What is the correct answer?

4

Which of the following redirection operator is used to append the content in a file?

A. >

B. <

C. >>

D. <>

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

Which of the following statements are the correct about XXXcomm command?
a) The comm command is used to compare the data of two files.
b) It displays three columns in the output by default.
c) It displays two columns in the output by default.
d) The comm command is used to communicate with the TCP socket.
Options:

A. A

B. B

C. A and B

D. C and D

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