Home
Current Affairs January 2024

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

Correct Answer :

A. A and B


Statements A, and B are correct about the root directory.

Related Questions

What is the correct answer?

4

Which of the following commands are used to know about the current user?
a) who
b) whoami
c) who am i
d) w
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 command is used to view the content of the compressed file?

A. cat

B. gzip

C. zcat

D. zipcat

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

Which of the following character is used to identify the symbolic link file in the output of ls command?

A. s

B. c

C. l

D. _

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 copy a file from one location to another location?

A. copy

B. copyfile

C. cp

D. None of the above

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

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 command is used to querying DNS to get mapping information about the domain name and IP address?

A. netstate

B. nslookup

C. netinfo

D. domainlookup

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

There are the following statements that are given below, which of them are correct about Linux?
a) Linux is system software.
b) Linux is a multitasking operating system.
c) Linux was developed by Dennis Ritchie
d) Linux is an open-source operating system.
Options:

A. A and B

B. B and C

C. A, C, and D

D. A, B, and D

What is the correct answer?

4

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

A. I

B. h

C. j

D. k

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 of the following command is used to print the 3rd column of a specified file?

A. awk '{print $3}

B. awk '{print $2}

C. awk '{print $N2}

D. awk '{print $N3}

What is the correct answer?

4

Which command is used to read data from the standard input device and write to the standard output and one or more files?

A. tea

B. tei

C. tie

D. tee

What is the correct answer?

4

Which of the following operator is used to comment lines in a shell script file?

A. //

B. \

C. /**/

D. #

What is the correct answer?

4

Which command is used to check the type of file?

A. type

B. file

C. filetype

D. filetypes

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 command is used to quit with discarding changes from the vi editor?

A. :q

B. :Q

C. ZZ

D. :q!

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

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

Which of the following symbol is used to match the empty string at the beginning of a word?

A. \

B. %

C. $

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

Which of the following command is used to remove an existing alias?

A. rmalias

B. unalias

C. delalias

D. ralials

What is the correct answer?

4

There are the following statements that are given below, which of them are the correct about the service command in the Linux system?
a) The service command is used to start a service by calling the associated script.
b) The service command is used to stop service by calling the associated script.
c) The service command is used to pause a service by calling the associated script.
d) The service command is used to restart a service by calling the associated script.
Options:

A. A and B

B. A, B, and D

C. B, C, and D

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 symbol is used to run a background process?

A. #

B. &

C. @

D. $