Home
Current Affairs January 2024

What is the correct answer?

4

The encrypted password is stored in which field of /etc/password file ?

A. first

B. second

C. third

D. last

Correct Answer :

B. second


Related Questions

What is the correct answer?

4

To remove a directory which is not empty ____ is used

A. rmdir

B. rmdir -r

C. rm -r

D. rm

What is the correct answer?

4

To get information about the Ethernet card, ___________ command is used

A. ipconfig

B. ifconfig

C. eth0

D. man Ethernet

What is the correct answer?

4

In practical, at the most _____ terminals can be opened at a time

A. 3

B. 6

C. 10

D. 12

What is the correct answer?

4

User can be assigned to a group while creating the user. The command for this is

A. adduser -g

B. useradd -a

C. aduser -a

D. useradd -g

What is the correct answer?

4

Home directory of root is

A. /home

B. /bin

C. /root

D. /boot

What is the correct answer?

4

init 6 is

A. Shutdown

B. Restart

C. Text mode

D. Graphics mode

What is the correct answer?

4

who -h is used to

A. Print column headings

B. Hide detail.

C. Hide user name.

D. All of the above.

What is the correct answer?

4

An user can login without password

A. True

B. False

What is the correct answer?

4

If there is any problem with the command, the error is given by

A. Kernel

B. Shell

C. root

D. None of the above

What is the correct answer?

4

To create multiple directories in one shot ________ is used

A. mkdir

B. mkdir -a

C. mkdir -p

D. mkdir -h

What is the correct answer?

4

To change the ownership of a file use

A. chmod

B. chgrp

C. chown

D. change

What is the correct answer?

4

Output of the command 'wc <filename>' is

A. Show only line

B. Show only word.

C. Show alphabet, line, word.

D. Show only file name.

What is the correct answer?

4

To view all the installed RPM packages use

A. rpm -qa

B. rpm -iv

C. rpm -h

D. rpm -I

What is the correct answer?

4

wc -l will give the

A. Number of lines

B. Number of characters

C. Number of words

D. All of the above

What is the correct answer?

4

All run levels are stored in

A. /etc/fstab

B. /etc/init

C. /etc/inittab

D. /etc/rc.d

What is the correct answer?

4

A user is logged in on a terminal; root tries to delete the user. Will the user be deleted?

A. Yes

B. No

What is the correct answer?

4

Hidden file can be viewed using

A. ls -l

B. ls -a

C. ls -h

D. None of the above

What is the correct answer?

4

To delete user the command is

A. rm <username>

B. delete <username>

C. userdel <username>

D. any one of the above

What is the correct answer?

4

The command for changing the permission relating to files is

A. ls-l

B. head

C. tail

D. chmod

What is the correct answer?

4

The main function of grep is

A. look for numeric

B. look for string match a regular expression..

C. look for string without regular expression.

D. None of them.

What is the correct answer?

4

Which command is used to compare files?

A. cmp

B. diff

C. head

D. All of these

What is the correct answer?

4

The mounted partition information is stored in

A. /etc/passwd

B. /etc/fstab

C. /etc/inittab

D. /sbin/lilo

What is the correct answer?

4

To check if a service is running, the command is

A. Ntsysv

B. setup

C. /etc/rc.d/init.d/service

D. /etc/serice

What is the correct answer?

4

Output of 'sort > shoppinglist' is

A. Sorting file but not save in file.

B. Without sorting but save in file.

C. Sorting and save in a file.

D. All of the above.

What is the correct answer?

4

The type of shell mostly used for Linux is

A. bash

B. korn

C. bourne

D. C-shell

What is the correct answer?

4

There can be only ----- job in foreground.

A. 1

B. 2

C. 3

D. 4

What is the correct answer?

4

A swap partition is actually

A. Primary partition

B. Extended partition

C. Extended memory

D. Virtual memory

What is the correct answer?

4

Which command is used for character translation?

A. td

B. vi

C. tr

D. tail

What is the correct answer?

4

While installing Linux, users can be created

A. True

B. False

What is the correct answer?

4

Password is applied using

A. psswd

B. pssword

C. uerpasswd

D. passwd username