Chmod & Chgrp

Chmod & Chgrp

Professional Development

7 Qs

quiz-placeholder

Similar activities

IT ENGLISH: Research Project Topics - Linux Command Line

IT ENGLISH: Research Project Topics - Linux Command Line

Professional Development

10 Qs

Linux Basics

Linux Basics

Professional Development

10 Qs

Linux Pro Chapter 4-8 part 3

Linux Pro Chapter 4-8 part 3

Professional Development

10 Qs

XK0-004 - Chapter 6

XK0-004 - Chapter 6

Professional Development

7 Qs

Comandos consola Ubuntu

Comandos consola Ubuntu

Professional Development

5 Qs

UC_TM07_ShellScripting

UC_TM07_ShellScripting

University - Professional Development

12 Qs

CYPD Intro to OS Windows

CYPD Intro to OS Windows

Professional Development

8 Qs

Linux

Linux

Professional Development

5 Qs

Chmod & Chgrp

Chmod & Chgrp

Assessment

Quiz

Computers

Professional Development

Medium

Created by

Faizan Sattar

Used 15+ times

FREE Resource

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