Home
Current Affairs January 2024

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

Correct Answer :

A. UID


The UID environment variable contains the path of the unique id of a particular user.

Related Questions

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

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 move left in vi editor?

A. I

B. h

C. j

D. k

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 of the following command is used to add a key to the SSH agent?

A. agent

B. ssh-agent

C. add-key

D. ssh-add

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

Which of the following commands are used to download files from a specified URL?
a) curl
b) wget
c) filedownload
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

In Linux, the sed stands for?

A. String Editor

B. Stream Editor

C. Simple Editor

D. Single Editor

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 command is used to schedule tasks in the Linux system?

A. schedule

B. stask

C. at

D. ats

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

What is the correct answer?

4

Which of the following command is used to undo the last command in the vi editor?

A. uu

B. x

C. X

D. u

What is the correct answer?

4

Which directory contains grub configuration file?

A. /lib

B. /usr

C. /boot

D. /etc

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

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

A Linux operating system supports?
a) Multitasking
b) Multiprogramming
c) Multiuser
d) Multithreading
Options:

A. A and C

B. A, C and D

C. A, B, and C

D. A, B, C, and D

What is the correct answer?

4

Which of the following commands are used to create files in the Linux Operating System?
a) cat
b) echo
c) touch
d) printf
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 assign all read, write and execute permission to all owners of a file?

A. chmod 7

B. chmod 777

C. chown 777

D. chgrp 777

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

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

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 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 view the content of the compressed file?

A. cat

B. gzip

C. zcat

D. zipcat

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

How to change the normal user to root user using the terminal in the Linux operating system?

A. Using sudo command

B. Using su command

C. Using super command

D. None of the above

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

A. >

B. <

C. >>

D. <>

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