Home
Current Affairs January 2024

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

Correct Answer :

B. chmod a+rwx file


Related Questions

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

To setup a Firewall, the command is

A. ntsysv

B. setup

C. /etc/firewall

D. /etc/install

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 see the process status which command you will use?

A. chmod

B. ps

C. ls-l

D. head

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

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

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

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

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

_______ 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

An user can login without password

A. True

B. False

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

Samba is actually a

A. Share

B. File server

C. File

D. None of the above

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

Password is applied using

A. psswd

B. pssword

C. uerpasswd

D. passwd username

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

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

Samba password and user password are same

A. True

B. False

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

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

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

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

_______ is used to rename files

A. ren

B. move

C. rename

D. mv

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

During Linux booting the init program is called by

A. ROM

B. Bootstrap

C. Sysinit

D. Kernel

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

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

________ gives information about an user

A. who

B. who am i

C. who -i

D. None of the above