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)
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
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.
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
5
Q
What is the command to update the #locate database?
A
sudo updatedb
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