Ch.5 Managing Linux Files and directories Flashcards

- Filesystem Hierarchy Standard - Managing Linux files - Finding files in the Linux file system - Understanding commands and precedence - Finding content within files

1
Q

Where does Linux store data?

A

On physical hard disks subdivided into partitions

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

What controls how data is managed on a hard disk?

A

A filesystem

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

A method of organizing objects based on some classification

A

A hierarchy

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

Defines a suggested logical location of directories and files on linux and unix distributions

A

FHS Filesystem Hierarchy standard

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

Name of the top-level directory

A

/ the root directory

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

Contains user commands

A

/bin

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

Contains files required to boot the system

A

/boot

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

Contains special device driver files for hardware devices

A

/dev

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

Contains global configuration files

A

/etc

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

Contains system library files, also known as shared objects

A

/lib

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

a point for temporarily mounted filesystems

A

/mnt

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

a mount point for removable media such as usb

A

/media

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

directory intended for installation of third-party applications

A

/opt

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

Contains system binaries used by root for booting or repairing the kernel

A

/sbin

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

Directory for temporary files and resides in memory

17
Q

A suite of shareable, red-only UNIX system resources

18
Q

Contains files that vary in size, log files, email files

19
Q

contains home directories for user accounts

20
Q

The user root home directory

21
Q

contains system info gathered from boot time forward; cleared at the start of the boot process. Resided in memory

22
Q

Contains data for services such as http or ftp running on the server

23
Q

provides device, driver, and some kernel information

24
Q

contains process and hardware information, resides in memory

25
Q

command to print the current working directory

26
Q

command to change directories

27
Q

what does pwd command display?

A

the absolute path of the current directory on the terminal

28
Q

where does the command cd ~ take you?

A

to the user home directory

29
Q

command to change to a specified user home directory

A

cd ~ username

30
Q

command to change the current working directory to the parent directory

31
Q

command to list filenames and directories stored in the current working directory

32
Q

command that displays all files, including hidden files

33
Q

command that displays a long listing of the directory contents

34
Q

command that displays directory contents recursively, meaning it will list current directory and the contents of all subdirectories

35
Q

command to display the inode a filename belongs to

36
Q

what does ls -l list?

A

size, permissions, number of links, user and group owners, modification time and filename