CompTIA Linux+ Chapter 4 Quiz 'Managing Files and Directories'

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

In order to set all of the special permissions on a certain file or directory, which command below should be used on a file named filename?

chmod 7777 filename

What utilizes a premade database that contains a list of all the files on a system?

locate

What argument can be used with the chmod command to add read permission and remove write permission for a group on a file?

g+r-w

In order to quickly create an empty file, what command can be used?​

​touch file1

The contents of a certain variable in memory can be viewed using which metacharacter below in combination with the echo command?

$

In a file's mode, a permission that is unavailable is represented by what character?

-

What option, when added to the rm command, is commonly referred to as the -resume option?

-r

The Filesystem Hierarchy Standard specifies what directory as the root user's home directory?

/root

Shell scripts do not require the execute permission in order to be run the same way binary programs are run.​ True or False?

False

What mode corresponds to setting r-x?

5

When using the chmod command, the mode rwx can be represented by which number?

7

What does the setfacl -b command do?​

It removes all extra ACL assignments on a given file

The SGID allows regular users to execute a binary compiled program and become a member of the group that is attached to the file. True or False?

True

The database for the locate command can be updated manually by using the updatedb command. True or False?

True

You can use wildcard metacharacters with the find command.

True

If a file's permissions are set to 760, what permission(s) are available to the group assigned to the file?​

read and write

​What two commands below will work recursively if specified with the -R option?

rm and cp

What permission (when assigned to a file) grants a user the ability to open, read, and edit the contents of a file?

write


Set pelajaran terkait

Bacterial Transformation Lab: pGLO

View Set

SDSU Marketing 370 Ch. 5 HW Review

View Set

Systems Analysis and Design: an Agile Iterative Approach

View Set

9-Biology Cells ADDITIONAL STUDY

View Set

Chapter 1 Introduction to physiology

View Set

Chapter 13 Assignment for Module 9

View Set