Home
Current Affairs January 2024

What is the correct answer?

4

Which of the following command is used to change the owner of a file?

A. owner

B. chgown

C. chown

D. changeowner

Correct Answer :

C. chown


The chown is used to change the owner of a file.

Related Questions

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

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 of the following command is used to display the calendar?

A. cal

B. calendar

C. calen

D. cln

What is the correct answer?

4

What is the extension of compressed file generated by bzip2 command?

A. .zip2

B. .bz2

C. .b2

D. .z2

What is the correct answer?

4

There are the following commands that are given below, which of them are correct locate command in the Linux operating system?
a) The locate command is also used to search a file.
b) The locate command searches the file into the database.
c) The locate command slower than find command.
d) The locate command search file in MySQL database only.
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

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

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 are correct types of shells used in the Linux operating system?
a) Bourne shell
b) Korn shell
c) Bourne Again shell
d) POSIX shell
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

How can we see the compression ratio of a file?

A. Using -c option of gzip command

B. Using -r option of gzip command

C. Using -l option of gzip command

D. Using -cr option of gzip command

What is the correct answer?

4

Which command is used to get the path of the current directory?

A. cdir

B. dir

C. pwd

D. pdir

What is the correct answer?

4

Which of the following command is not used to extract a compressed file?

A. untar

B. tar

C. gunzip

D. bunzip2

What is the correct answer?

4

Which of the following operator is used to set and override the permission of a file in chmod command?

A. +

B. =

C. *

D. -

What is the correct answer?

4

Which exact command is used, when we want to search words in the file that can be ABC1, ABC5, and ABC8?

A. grep ABC[0-9]

B. grep ABC(0-9)

C. grep ABC(0-9)

D. grep ABC(0-9)

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

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 statements are the correct about grep command?
a) This command is used to filter the content of the file.
b) This command is not used to filter the content of the file.
c) We can search the specified word in the file using grep command.
d) There is no grep command that exists in the Linux operating system.
Options:

A. Only A

B. Only A

C. A and B

D. A and C

What is the correct answer?

4

Which command is used to remove an existing group?

A. removegroup

B. deletegroup

C. groupdel

D. grouprmv

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 of the following redirection operator is used to append the content in a file?

A. >

B. <

C. >>

D. <>

What is the correct answer?

4

There are the following statements that are given below, which of them are correct about vi the editor?
a) The vi editor is also known as a Visual editor.
b) The vi editor is used to create and edit text files.
c) It is a very user-friendly editor and works on different distributions of Linux.
d) vim is the improved version of the vi editor.
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 exact command is used to find files whose permissions are 765 in the current directory?

A. find . -perm 765

B. find . -per 765

C. find . -p 765

D. find . -prm 765

What is the correct answer?

4

Which of the following command is used to move up in the vi editor?

A. I

B. h

C. j

D. k

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 statements are the correct about XXXod command?
a) This command is used to display the content of the file in octal format.
b) This command is used to display the content of the file in hexadecimal format.
c) This command is used to display the content of the file in ASCII format.
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

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 command is used to execute a command based on the number assigned in the command history, here we denote command history number by N?

A. !N

B. #N

C. $N

D. !!N

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

Which of the following command is used to schedule tasks in the Linux system?

A. schedule

B. stask

C. at

D. ats