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
command to print the current working directory
pwd
26
command to change directories
cd
27
what does pwd command display?
the absolute path of the current directory on the terminal
28
where does the command cd ~ take you?
to the user home directory
29
command to change to a specified user home directory
cd ~ username
30
command to change the current working directory to the parent directory
cd ..
31
command to list filenames and directories stored in the current working directory
ls
32
command that displays all files, including hidden files
ls -a
33
command that displays a long listing of the directory contents
ls -l
34
command that displays directory contents recursively, meaning it will list current directory and the contents of all subdirectories
ls -R
35
command to display the inode a filename belongs to
ls -i
36
what does ls -l list?
size, permissions, number of links, user and group owners, modification time and filename
37
38