Home
Current Affairs January 2024

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

Correct Answer :

C. rm -r


Related Questions

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

For a user _______ is an autoexec.bat equivalent file in Linux

A. .bashrc

B. .bash_rc

C. .bash_profile

D. .bashprofile

What is the correct answer?

4

What is the relation between grep & egrep

A. egrap is a mother of grep.

B. Egrap is totally difference

C. Egrap is a another version of grep.

D. None of these.

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

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

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

_______ 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

The command to check a partition is

A. fsck

B. fstab

C. fdisk

D. diskdruid

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

User passwords are stored in

A. /etc/password

B. /root/password

C. /etc/passwd

D. /root/passwd

What is the correct answer?

4

Linux mount partition must be a primary partition

A. True

B. False

What is the correct answer?

4

In comm the 2nd column displays

A. Lines unique in the first file

B. Lines unique in the second file

C. Lines common in the both file

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

Password is applied using

A. psswd

B. pssword

C. uerpasswd

D. passwd username

What is the correct answer?

4

Linux kernel file name is

A. vmlinux

B. vmlinuz

C. lynx

D. linux

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

Which command is used to compare files?

A. cmp

B. diff

C. head

D. All of these

What is the correct answer?

4

_______ is used to change the file/folder permission

A. chown

B. chmod

C. mod

D. chgrp

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 setup a Firewall, the command is

A. ntsysv

B. setup

C. /etc/firewall

D. /etc/install

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

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

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

_______ is used to rename files

A. ren

B. move

C. rename

D. mv

What is the correct answer?

4

To delete an user along with its home directory, the command is

A. userdel -d username

B. userdel -D username

C. userdel -r username

D. userdel -R username

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

What is the correct answer?

4

-wxrwx-x is equivalent to

A. 567

B. 675

C. 571

D. 672

What is the correct answer?

4

The core of Linux OS is also called

A. Kernel

B. Shell

C. root

D. bash

What is the correct answer?

4

To search a pattern in a file _________ can be used

A. grep

B. egrep

C. find

D. search