ITS 121 Chapter 4 Study Guide

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

The contents of a certain variable in memory can be viewed using which metacharacter below in combination with the echo command? A. $ B. * C. & D. #

A. $

The rmdir command automatically removes a directory and all of its subdirectories and files. True or False?

False

What does the setfacl -b command do? A. It removes all extra ACL assignments on a given file B. It set 7777 on a given file or folder for all users/groups C. The file's user/group ownership is changed to root/root D. The file's ACL assignments are created and are then ready to be modifed

A. It removes all extra ACL assignments on a given file

In order to create a hard link, what command must be used? A. ln B. link C. lnk D. lk

A. ln

What permission grants a user the ability to open, read, and edit the contents of a file? A. write B. execute C. read D. alter

A. write

What option, when added to the rm command is commonly referred to as the -resume option? A. -d B. -r C. -f D. -i

B. -r

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? A. chmod 777 filename B. chmod 7777 filename C. chmod 6666 filename D. chmod 0000 filename

B. chmod 7777 filename

What command below takes a list of arguments specifying the absolute or relative pathnames of files to remove? A. del B. rm C. remove D. delete

B. rm

In order to quickly create an empty file, what command can be used? A. vim file1 B. touch file1 C. echo file1 D. create file1

B. touch file1

What permission (when assigned to a file) grants the user the ability to open, read, and edit the contents of the file? A. read B. write C. execute D. sticky bit

B. write

The Filesystem Hierarchy Standard specifies what directory as containing the Linux kernel and the boot loader configuration files? A. /load B. /bin C. /boot D. /mnt

C. /boot

Select the mode below that corresponds to setting r-x: A. 1 B. 2 C. 5 D. 6

C. 5

When using the chmod command, the mode rwx can be represented by which number? A. 0 B. 1 C. 7 D. 8

C. 7

What command can be used to copy files? A. Copy B. mv C. cp D. cpy

C. cp

What permission (when applied to a directory) allows a user to enter the directory and work with directory contents A. read B. write C. execute D. sticky bit

C. execute

What argument can be used with the chmod command to add read permission and remove write permission for a group on a file? A. u+r+w B. g-r+w C. g+r-w D. o+r-w

C. g+r-w

The section of an inode that stores permissions is referred to as what? A. the tail of the file B. the head of the file C. the mode of the file D. the accessor of the file

C. the mode of the file

In a file's mode, a permission that is unavailable is represented by what character? A. * B. + C. ? D. -

D. -

The Filesystem Hierarchy Standard specifies what directory as the root user's home directory? A. /bin B. /boot C. /home/root D. /root

D. .root

Select the command below that utilizes a premade database that contains a list of all the files on a system: A. search B. id C. find D. locate

D. locate

What section of a filesystem contains information about the filesystem in general? A. inode table B. inode C. data blocks D. superblock

D. superblock

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

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 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 or False?

True


Ensembles d'études connexes

AP Statistics Semester 1 Quiz/Checkpoint Questions

View Set

Pénzügyi és gazdasági kultúra

View Set

Didactique des langues étrangères

View Set

Structural Materials - Chapter 5: Wood

View Set

Economics Ch. 11, The Stock Market

View Set