Home
Current Affairs January 2024

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

Correct Answer :

C. userdel <username>


Related Questions

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

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

The type of shell mostly used for Linux is

A. bash

B. korn

C. bourne

D. C-shell

What is the correct answer?

4

Which command is used to see the content of a file

A. more

B. cp

C. cat

D. rmdir

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

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

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 access a directory the minimum permission required is

A. r

B. w

C. x

D. All

What is the correct answer?

4

Name of the kernel file in Linux is

A. lkrnl

B. vmlinux

C. linuxbin

D. none of the above

What is the correct answer?

4

Samba is actually a

A. Share

B. File server

C. File

D. None of the above

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

Which command is used to compare files?

A. cmp

B. diff

C. head

D. All of these

What is the correct answer?

4

To give all permission to a file to all users the command is
all of the above

A. chmod a+777 file

B. chmod a+rwx file

C. chmod ugo+7 file

D. none of the above

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

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

_______ 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

Linux mount partition must be a primary partition

A. True

B. False

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

init 6 is

A. Shutdown

B. Restart

C. Text mode

D. Graphics mode

What is the correct answer?

4

Which command is used to see the system date?

A. Time

B. Date

C. Month

D. None of these

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

mkdir - p is used for

A. Making directory under parent directory.

B. Making directory non existing parent directory.

C. Specified the mode of directory.

D. None of the above

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

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

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

A. fsck

B. fstab

C. fdisk

D. diskdruid

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

Home directory of root is

A. /home

B. /bin

C. /root

D. /boot

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