Home
Current Affairs January 2024

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

Correct Answer :

A. adduser -g


Related Questions

What is the correct answer?

4

To see the process status which command you will use?

A. chmod

B. ps

C. ls-l

D. head

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

What is the meaning of chmod 444 stuf?

A. Gives all user write permission.

B. Gives all user execute permission.

C. Gives all user read permission.

D. All of the above.

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

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

An user can login without password

A. True

B. False

What is the correct answer?

4

chmod 632 stuff means

A. Gives read & write& execute permission for owner write & execute for group read permission for other.

B. Gives read & write permission for owner write & execute for group Write permission for other.

C. Gives write permission for owner write & execute for group Write permission for other.

D. Gives read & write permission for owner read & execute for group Write permission for other.

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

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

To change the ownership of a file use

A. chmod

B. chgrp

C. chown

D. change

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

A. r

B. w

C. x

D. All

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

Password is applied using

A. psswd

B. pssword

C. uerpasswd

D. passwd username

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

Read & Write permission means

A. 1

B. 6

C. 2

D. 0

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

A. ntsysv

B. setup

C. /etc/firewall

D. /etc/install

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

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

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

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

All device files are stored in

A. /device

B. /etc/dev

C. /bin

D. /dev

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

User passwords are stored in

A. /etc/password

B. /root/password

C. /etc/passwd

D. /root/passwd

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

/dev is used for

A. Executable file

B. Contains include file

C. Contain compiler file.

D. Device file & resource file.

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

-wxrwx-x is equivalent to

A. 567

B. 675

C. 571

D. 672