Home
Current Affairs January 2024

What is the correct answer?

4

Which of the following command is used to start typing at the end of the current line in the vi editor?

A. A

B. a

C. o

D. O

Correct Answer :

A. A


The command A is used to start typing at the end of the current line in the vi editor.

Related Questions

What is the correct answer?

4

There are the following statements that are given below, which of them are correct about Linux shell?
a) Linux shell is a part of Linux kernel.
b) Linux shell provides an environment to execute commands.
c) Linux shell is used to execute scripts.
d) Linux shell is used to operate GPIO pins in the kernel.
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 exact command is used to remove a non-empty directory?

A. rmdir -removeall

B. rmdir -n

C. rmdir -rf

D. rmdir -ra

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

Which Linux command is used to create an encrypted password?

A. encrypt passwd

B. secure passwd

C. openssl passwd

D. All the above

What is the correct answer?

4

In which year Linux was developed?

A. 1989

B. 1990

C. 1991

D. 1993

What is the correct answer?

4

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

A. group

B. chgroup

C. chown

D. chgrp

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 environment variables contains the path of the user's unique id?

A. UID

B. USERID

C. USRID

D. ID

What is the correct answer?

4

Which of the following directories does not take disk space?
a) /proc
b) /dev
c) /var
d) /home
Options:

A. A and B

B. A, B, and C

C. A, B, and D

D. A, B, C, and D

What is the correct answer?

4

Which exact command is used to down interface eth0 in the Linux operating system?

A. ifconfig down eth0

B. ifdown eth0

C. down eth0

D. ifconfig -d eth0

What is the correct answer?

4

There are the following statements that are given below which of them are correct about the ss command in the Linux operating system?
a) The ss command is the replacement for the netstat command.
b) It is faster than the netstat command.
c) We can display all UDP and TCP socket connections using ss command.
d) The ss can display all TCP socket connections only.
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 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

Which of the following directory contains interrupts related files?

A. /proc

B. /dev

C. /var

D. /home

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 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 Linux command is used to know, how long a computer has been running?

A. startup

B. uptime

C. startuptime

D. time

What is the correct answer?

4

The scope of an environment variable can be?

A. Local

B. Global

C. Both

D. None

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 of the following command is used to assign a new name to the Linux built commands?

A. newcmd

B. new

C. alias

D. aliasname

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

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

Which of the following Linux command is used to print all environment variables?

A. printenv

B. env

C. envvars

D. envs

What is the correct answer?

4

There are the following statements that are given below which of them are correct about cut command?
a) The cut command is used to select a specific column of a file.
b) We can use a delimiter in the cut command to separate the columns of a file.
c) We cannot use a delimiter in the cut command.
d) The cut command is used to move files from one location to another location.
Options:

A. Only A

B. Only B

C. A and B

D. A and C

What is the correct answer?

4

Which of the following Linux command is used to configure a wireless network interface in the Linux operating system?

A. wirelessconfig

B. wconfiguration

C. iwconfig

D. wwconig

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 run-level is used with the init command to reboot the system?

A. 0

B. 1

C. 4

D. 6

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 operator is used to comment lines in a shell script file?

A. //

B. \

C. /**/

D. #