Home
Current Affairs January 2024

What is the correct answer?

4

Which of the following command is used to know about the swap memory of the system?

A. swapmem

B. free

C. sw

D. sp

Correct Answer :

B. free


Related Questions

What is the correct answer?

4

Which of the following statements are correct about whois command?

A. We can get name servers of a website using whois command.

B. The whois command is used to get domain name and registry information for a website.

C. Both of the above

D. None of the above

What is the correct answer?

4

Which of the following number is used for read permission in the Linux operating system?

A. 4

B. 2

C. 1

D. 0

What is the correct answer?

4

There are the following statements that are given below, which of them are correct about the /sys directory in the Linux operating system?
a) The /sys directory contains kernel related information.
b) The /sys directory contains information about hardware devices.
c) The /sys directory contains user-related information.
d) All the above
Options:

A. A and B

B. A and C

C. B and C

D. B and D

What is the correct answer?

4

Which command is used to know about groups that belong to the current user?

A. grouplist

B. groups

C. groupinfo

D. groupinformation

What is the correct answer?

4

How to check the version of the ls command?

A. ls -v

B. ls --v

C. ls -version

D. ls --version

What is the correct answer?

4

There are the following statements that are given below, which of them are correct about AWK in the Linux operating system?
a) AWK is a scripting language, which is used to perform operations on data and generate reports.
b) The compilation is not required for AWK programs.
c) The compilation is required for AWK programs.
d) We can use logical operators, string functions, and numeric functions in AWK programs.
Options:

A. A and B

B. A and D

C. A, B, and D

D. A, C, and D

What is the correct answer?

4

Which of the following statements are the correct about XXXuniq command?
a) This command is used to delete unique data from a file permanently.
b) This command is used to display a sorted list in which every word will occur only once.
c) We can count the occurrence of a word using uniq command.
d) None of the above
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 options that are given below, which is not a correct Linux distribution?

A. CentOS

B. Linux mint

C. SunOS

D. OpenSUSE

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

There are the following statements that are given below, which of them are correct about Regular expressions in the Linux operating system?
a) The regular expressions are strings that are used for pattern matching in some Linux commands.
b) The regular expressions are also known as a regex.
c) The regular expressions use some characters that each has a different meaning.
d) Regular expressions can only be used in the Linux commands.
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 is not the inbuilt variable in AWK?

A. NR

B. NF

C. FN

D. FILENAME

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

Which of the following command is used to display the memory map of processes in the Linux system?

A. pmap

B. memmap

C. map

D. procmap

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 of the following command is used to rename the file names that contain text with txt in the current directory?

A. rename 'r/txt/text' *

B. rename 'e/text/txt' *

C. rename 's/txt/text' *

D. rename 's/text/txt' *

What is the correct answer?

4

Which of the following are the types of file owners in the Linux Operating System?
a) User
b) Group
c) Other
d) None of the above
Options:

A. A and B

B. C and D

C. A, B, and C

D. D

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

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

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

There are the following statements that are given below, which of them is correct about Linux kernel?

A. The kernel is the main part of the Linux root file system.

B. The kernel is a core part of OS, which acts as a bridge between hardware and user programs.

C. The kernel is one kind of shell used by system calls.

D. None of the above

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 command is used to pass control of group membership to another user?

A. groupuser

B. gpasswd

C. grouppasswd

D. None of the above

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 exact command is used to remove a directory with its sub-directories?

A. rmdir -a

B. rmdir -p

C. rmdir -s

D. rmdir -k

What is the correct answer?

4

Which of the following command is used to display the path of a command in the Linux File System?

A. pcmd

B. which

C. pathcmd

D. None of the above

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

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

There are the following options that are given below, which of them are not correct environment variables used in the Linux operating system?

A. USERID

B. ENV

C. EDITOR

D. USER

What is the correct answer?

4

Which exact command is used to display the signal names used in the Linux operating system?

A. signal -all

B. kill -p

C. kill -l

D. kill -s