Home
Current Affairs January 2024

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

Correct Answer :

B. who am i


Related Questions

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

________ 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

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

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

Password is applied using

A. psswd

B. pssword

C. uerpasswd

D. passwd username

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

The command to view the partition information is

A. fsck

B. fstab

C. fdisk

D. diskdruid

What is the correct answer?

4

ls -o is used for

A. Except Group

B. Except Owner

C. Except Size in Byte

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

Which command is used to compare files?

A. cmp

B. diff

C. head

D. All of these

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

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

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

To access a directory the minimum permission required is

A. r

B. w

C. x

D. All

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

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

A. 1

B. 2

C. 3

D. 4

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

All device files are stored in

A. /device

B. /etc/dev

C. /bin

D. /dev

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

To search a pattern in a file _________ can be used

A. grep

B. egrep

C. find

D. search

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

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

Linux mount partition must be a primary partition

A. True

B. False

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

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

cat > abc, if the requested file does not exist, error will be given by

A. Kernel

B. Shell

C. root

D. None of the above

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 is a

A. Multi Tasking OS

B. Multi User OS

C. Dedicated Server

D. All of the above

What is the correct answer?

4

The X-Window system in Linux is a

A. program development environment

B. graphical user interface

C. tool to connect Linux with Windows

D. none of the above

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