Home
Current Affairs January 2024

What is the correct answer?

4

Which Linux command is used to assign a password to the created user?

A. password

B. newpass

C. passwd

D. pwd

Correct Answer :

C. passwd


The passwd command is used to assign a password to the created user.

Related Questions

What is the correct answer?

4

Which exact command is used to see the calendar of the year 2020?

A. cal 2020

B. cal -y 2020

C. calendar 2020

D. None of the above

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 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 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 types of encodings are used by the strings command?
a) 16-bit little endian
b) 16-bit big endian
c) 7-bit byte ASCII
d) None of the above
Options:

A. A and B

B. B and C

C. A, B, and C

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

Which command is used to remove a file?

A. remove

B. rm

C. rmfile

D. delete

What is the correct answer?

4

Which exact command is used to list the files and directories with group id and owner id instead of their names?

A. ls -l

B. ls -n

C. ls -k

D. ls -h

What is the correct answer?

4

Which of the following command uses regular expressions in the Linux operating system?
a) grep
b) sed
c) rename
d) bash
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 of the following configuration file is used by updatedb command?

A. /etc/db.conf

B. /etc/locatedb.conf

C. /etc/updatedb.conf

D. /etc/update.conf

What is the correct answer?

4

Which of the following directories are known as data directories?
a) /srv
b) /media
c) /home
d) /opt
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 are the inbuilt variables in AWK?
a) FS
b) OFS
c) KFS
d) ORS
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

There are the following statements that are given below, which of them are correct about bang bang command in the Linux operating system?

A. The bang bang command is used to remove commands history.

B. The bang bang command is used to remove execute last executed command.

C. The bang bang command is used to display the last login time of the current user.

D. None of the above

What is the correct answer?

4

Which of the following directories that contain the shared libraries in the Linux System?

A. /sbin

B. /lib

C. /bin

D. /opt

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

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

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

Which of the following command is used to get information about the File Hierarchy System?

A. man rfs

B. man hier

C. man hfs

D. man fhs

What is the correct answer?

4

What is the full form of MTU?

A. Maximum Transmission Unit

B. Minimum Transmission Unit

C. Multiple Transmission Unit

D. Minimum Transactional Unit

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 of the following command is used to perform mathematical expression and print output on the terminal?

A. expr

B. exp

C. calexp

D. calexpr

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

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

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

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

Which of the following directories that contain the executable binary files that require root privileges to perform tasks?

A. /sbin

B. /lib

C. /bin

D. /opt

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