Search Header Logo

Chmod & Chgrp

Authored by Faizan Sattar

Computers

Professional Development

Used 15+ times

Chmod & Chgrp
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the command to set the following permission for a file?


owner: read, execute

group: none

others: none

chmod 700 file

chmod 600 file

chmod 500 file

chmod 400 file

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the command to set the following permission for a file?


owner: read, write, execute

group: read, execute

others: read, execute

chmod 711 file

chmod 700 file

chmod 777 file

chmod 755 file

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the command to set the following permission for a directory?


owner: read, write, execute

group: read, execute

others: read, execute

chmod 755 dir

chmod 766 dir

chmod -R 755 dir

chmod -R 766 dir

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the command to set the following permission for a directory?


owner: read, execute

group: read, execute

others: read, execute

chmod -R 555 dir

chmod -R 666 dir

chmod -R 444 dir

chmod -R 777 dir

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the command to change ownership of a file to username kpacademy?

chgrp kpacademy filepath

chusr kpacademy filepath

chfile kpacademy filepath

chown kpacademy filepath

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Whats the command to change owner to kpacademy and group to class2018 of a directory?

chown -R kpacademy:class2018 dir

chmod -R kpacademy:class2018 dir

chdir -R kpacademy:class2018 dir

chgrp -R kpacademy:class2018 dir

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the command to set a user's default permission to the following?


File: rw, rw, r

Dir: rwx, rwx, rx

umask 200

umask 020

umask 002

umask 022

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?