Chapter 4 Flashcards

(68 cards)

1
Q

Contains binary commands for use by all users (on most Linux systems, this directory is a shortcut to /usr/bin)

A

/bin

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Contains the Linux kernel and files used by the boot loader

A

/boot

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Contains device files

A

/dev

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Contains system-specific configuration files

A

/etc

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Is the default location for user home directories

A

/home

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Contains shared program libraries (used by the commands in /bin and /sbin) as well as kernel modules

A

/lib

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

A directory that contains subdirectories used for accessing (mounting) filesystems on removable media devices such as floppy disks, DVDs, and USB flash drives

A

/media

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

An empty directory used for temporarily accessing filesystems on removable media devices

A

/mnt

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Stores additional software programs

A

/opt

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Contains process and kernel information

A

/proc

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Is the root user’s home directory

A

/root

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Contains system binary commands (used for administration)

A

/sbin

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Contains configuration information for hardware devices on the system

A

/sys

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Holds temporary files created by programs

A

/tmp

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Contains most system commands and utilities

A

/usr

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Is the location for most additional programs

A

/usr/local

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Contains log files and spools

A

/var

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Creates directories

A

mkdir

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Removes empty directories

A

rmdir

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

Moves/renames files and directories

A

mv

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

Copies files and directories full of files (with the –r or –R option)

A

cp

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

Displays BASH shell aliases

A

alias

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

Removes files and directories full of files (with the –r or –R option)

A

rm

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

Removes files

A

unlink

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
The section within an inode of a file or directory that lists the permissions assigned to users and groups on the file or directory.
access control list (ACL)
26
A command used to change filesystem attributes for a Linux file.
chattr (change attributes) command
27
A command used to change the group owner of a file or directory
chgrp (change group) command
28
A command used to change the mode (permissions) of a file or directory.
chmod (change mode) command
29
A command used to change the owner and group owner of a file or directory.
chown (change owner) command
30
A command used to create copies of files and directories.
cp (copy) command
31
A filesystem allocation unit in which the data that makes up the contents of the file as well as the filename are stored.
Data blocks
32
A standard outlining the location of set files and directories on a Linux or UNIX system.
Filesystem Hierarchy Standard (FHS)
33
A command used to find files on the filesystem using various criteria.
find command
34
A command used to list all ACL entries for a particular Linux file or directory.
getfacl (get file ACL) command
35
When used in the mode of a certain file or directory, the collection of users who have ownership of that file or directory.
Group
36
A file joined to other files on the same filesystem that shares the same inode.
Hard link
37
The portion of a file that stores information on the file’s attributes, access permissions, location, ownership, and file type.
Inode
38
The collection of inodes for all files and directories on a filesystem.
Inode table
39
The mode that file management commands use when a file can be overwritten; the system interacts with a user asking the user to confirm the action.
Interactive mode
40
A command used to create hard and symbolic links.
ln (link) command
41
A command used to locate files from a file database.
locate command
42
A command used to list filesystem attributes for a Linux file.
lsattr (list attributes) command
43
A command used to create directories.
mkdir (make directory) command
44
The part of the inode that stores information on access permissions.
Mode
45
A command used to move/rename files and directories.
mv (move) command
46
When used in the mode of a certain file or directory, all the users on the Linux system.
Other
47
The user whose name appears in a long listing of a file or directory and who has the ability to change permissions on that file or directory
Owner
48
Used to change user passwords.
passwd command
49
A variable that stores a list of directories that will be searched in order when commands are executed without an absolute or relative pathname.
PATH variable
50
A list that identifies who can access a file or folder and their level of access.
Permissions
51
The group that is specified for a user in the /etc/passwd file and set as the group owner for all files created by a user.
Primary group
52
The process of excluding files, directories, or filesystems from being processed by a command.
Pruning
53
A term referring to itself and its own contents; a recursive search includes all subdirectories in a directory and their contents.
Recursive
54
A command used to remove files and directories.
rm (remove) command
55
A command used to remove empty directories.
rmdir (remove directory) command
56
A command used to modify ACL entries for a particular Linux file or directory.
setfacl (set file ACL) command
57
The portion of a command that refers to the file or directory from which information is taken.
source file/directory
58
The portion of a filesystem that stores critical information, such as the inode table and block size.
superblock
59
A pointer to another file on the same or another filesystem; commonly referred to as a shortcut.
symbolic link
60
The portion of a command that refers to the file or directory to which information is directed.
target file/directory
61
A command commonly used to create new files. Its original intended purpose was to update the time stamp on a file.
touch command
62
A command used to locate executable files on the system; it returns the first alias or directory within the PATH variable for the command.
type command
63
A special variable used to alter the permissions on all new files and directories by taking away select default file and directory permissions.
Unmask
64
The command used to view and change the umask variable.
umask command
65
A command used to delete files.
unlink command
66
A command used to locate executable files on the system; it returns any directories within the PATH variable for the command, as well as the location of associated man pages and info pages.
whereis command
67
A command used to locate executable files on the system; it returns any aliases and directories within the PATH variable for the command.
which command
68