Home
Current Affairs January 2024

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

Correct Answer :

B. /etc/fstab


Related Questions

What is the correct answer?

4

The command to view the partition information is

A. fsck

B. fstab

C. fdisk

D. diskdruid

What is the correct answer?

4

To start graphics mode use

A. init 3

B. init 5

C. init 0

D. init 6

What is the correct answer?

4

To search a pattern in a file _________ can be used

A. grep

B. egrep

C. find

D. search

What is the correct answer?

4

_______ will add contents to an existing file

A. cat > file

B. cat >> file

C. cat file | file1

D. cat file > file1

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

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

Password is applied using

A. psswd

B. pssword

C. uerpasswd

D. passwd username

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

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

To change the ownership of a file use

A. chmod

B. chgrp

C. chown

D. change

What is the correct answer?

4

The --------- command sorts lines of all the named files.

A. desc

B. cp

C. sort

D. ls -l

What is the correct answer?

4

To unmount a filesystem ________ command is ised

A. Umount

B. unmount

C. dismount

D. mount -u

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

Protocols used by Linux are

A. TCP/IP &UUCP

B. UDP & UUCP

C. PPP & UDP

D. None of the above

What is the correct answer?

4

________ gives information about an user

A. who

B. who am i

C. who -i

D. None of the above

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

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

An user can login without password

A. True

B. False

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

All device files are stored in

A. /device

B. /etc/dev

C. /bin

D. /dev

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

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

What will be the output of the command 'tail sample'?

A. Last 10 lines of the file.

B. Last 15 lines of the file

C. Last 5 lines of the file

D. First 10 lines of file.

What is the correct answer?

4

The symbol of wildcard(s) is

A. w

B. `

C. ? *

D. None of the above.

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

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 to check a partition is

A. fsck

B. fstab

C. fdisk

D. diskdruid

What is the correct answer?

4

ls j?e - output will be

A. Filenames with 3 charcter

B. Filenames with 4 charcter

C. Filenames with 5 charcter

D. Filenames with 10 charcter

What is the correct answer?

4

sort file, will sort the contents of the file and the effect will be reflected in the file

A. True

B. False