Linux+ Chapter 04

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

added to a ch or ls command for attributes?

attr

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

chmod 7777 filename

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

locate command

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 create a hard link, what command must be used?

ln

The contents of a certain variable in memory can be viewed using which metacharacter 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 File system Hierarchy Standard specifies what directory as containing the Linux kernel and the boot loader configuration files?

/boot

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

/home

Shell scripts do not require the execute permission in order to be run the same way binary programs are run.

False

T/F - The rmdir command automatically removes a directory and all of its subdirectories and files.

False

-wx-w-r-x

325

r--

4

what are the three numbers representing rwx?

421

r-x

5

rw-

6

rw-r-xrwx

657

rw- rw- rw-

666

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

7

rwx

7

__________defines a standard set of directories for use by all Linux and UNIX systems, as well as the file and subdirectory contents of each directory.

FHS

T/F - You can use wildcard metacharacters with the find command.

True

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

The database for the locate command can be updated manually by using the updatedb command.

True

What command can be used to copy files?

cp

What permission (when applied to a directory) allows a user to enter the directory and work with directory contents?

excecute

The section of an inode that stores permissions is referred to as what?

mode

When a user creates a file or directory, that user's name and ______ becomes the owner and group owner of the file, respectively.

primary group

To copy a directory full of files in Linux, you must tell the cp command that the copy will be _____(involve files and subdirectories too) by using the -r option

recursive

What does the setfacl -b command do?

removes all extra ACL assignments

What command takes a list of arguments specifying the absolute or relative pathnames of files to remove?

rm

What section of a filesystem contains information about the filesystem in general?

superblock

To create a(n) _____ link, you use the -s option to the ln command.

symbolic

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

touch command

A special variable used to alter permissions by taking away select defaults?

unmask command

What mode corresponds to setting r-x:

user

The _____ command only searches directories that are listed in a special variable called the PATH variable in the current BASH shell.

which

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

write

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

write


Set pelajaran terkait

Anatomy and Physiology I - Chapter 10 Learnsmart

View Set

Overview of Anthropology (Chapter 1) Practice Quiz #1

View Set