104.7 Find system files and place files in the correct location Flashcards

1
Q

What is the name of the organization that suggests how data is to be organized in a file system?

A

The FHS (the Filesystem Hierarchy Standard)

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

What are the FHS guidelines regarding file systems?

A
  • Inverted tree
  • Case sensitive
  • Paths are separated by /
  • File/folder names starting with a dot are hidden
  • A single dot in a folder refers to the current folder
  • Double dots refers to the parent directory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a disadvantage of the #locate command compared to #find?

A

locate uses a local db and needs to be updated periodically.

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

What is the name of the configuration file that has the setting for the #updatedb command for the #locate functionality?

A

/etc/updatedb.conf

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

What is the command to update the #locate database?

A

sudo updatedb

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

What is the command that searches a local database of files and folders looking for items that match the search criteria?

A

locate

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