GoConqr has a new look! Let us know what you think.

Quiz

Linux Lab 4

Ahmed Aladdin 15 questions

Take the quiz

Questions in this quiz (15)

  1. 1Which command syntax is correct if you want to assign read-only permission to everyone and write permission to the file owner?
    1. Achmod a+r u+w filename
    2. Bchmod a+r filename
      chmod u+w filename
    3. Cchmod a+w filename
      chmod u+r filename
    4. Dchmod g+r filename
      chmod u+w filename
  2. 2Which command is used to change file ownership?
    1. Achowner
    2. Bchgrp
    3. Cchmod
    4. Dchown
  3. 3Why do we need pipes?
    1. ATo connect the user with a new command
    2. BTo further process the input of the preceding command
    3. CTo further process the output of the preceding command
    4. DTo join two files
  4. 4List 3 basic commands of file navigation?
    1. Als, pwd, cd
    2. Bls, pwd, chmod
    3. Cpipe, pwd, cd
    4. Dls, chgrp, cd
  5. 5Which command is used to remove a directory?
    1. Arm -r DIRECTORYNAME
    2. Brm DIRECTORYNAME
    3. Cmv -r DIRECTORYNAME
    4. Drm -i DIRECTORYNAME
  6. 6Which command is used to change group ownership of a file?
    1. Achgrp
    2. Bchgroup
    3. Cchown
    4. Dchmod
  7. 7What are the different ways to view a file?
    1. Acat
    2. Bvi
    3. Cmore
    4. Dless
    5. EAll of the above
  8. 8How to rename a file?
    1. Arename
    2. Bmv
    3. Crm
    4. Dchown
  9. 9Which command is used to search for a keyword or pattern in a file?
    1. Aawk
    2. Bsort
    3. Cgrep
    4. Decho
  10. 10What is the purpose of sort command?
    1. AIt cuts the file in half
    2. BIt sorts the output of a command
    3. CIt sorts the output of a file
    4. DNone of the above
    5. EB and C
    6. FA and C

Information

Description
1 Linux Training Quiz on Linux Lab 4, created by Ahmed Aladdin on 30/12/2022.
Language
English
Views
0
Tags
linuxtraininglinux training1
Rating
No ratings yet
Rate this quiz
Rate this quiz

More on Linux File Management and Permissions

Feedback

What is it about?

What do you think of the new look?

How do you like it?