Section 6: Directories and files Flashcards
Learning manipulate and navigate the file system with in Linux
multi users can use the same system.
General user and super user
What is a superuser?
a superuser can access all parts of the system to execute admin tasks.
What are home directories?
Each user ( incl superuser) has their own home directory to store their photos/ downloads, bookmarks etc..
What are system directories?
Hold center config files and executable files. Can only be controlled by the super user.
what does / represented in the file tree?
root directory
What is mount and unmount?
Partitions and drives have to be mounted onto the tree in Linux, they do not have their own separate trees.
Can you access unmounted partitions or devices?
Data from unmounted partition or device is inaccessible.
What is important to not about naming conventions in Linux file system.
Linux file system names are case sensitive.
Do files in Linux need extensions?
Files in Linux do not need to have file extensions, it only matter what the format it was saved as.
How do you hidden files in Linux?
by putting . infront of the file name
T/F: Only the owner and root user of a file or directory can grant access?
true
What are the three type of permissions?
read, write and execute
Where can you change access permissions for files?
shell or GUI file manager
What does FHS stand for?
Filesystem Hierarchy Standard
What does FHS mean?
Distinguishes between shareable and unshareable files, static and variable files.
What are static files?
Static files can not be changed.
What are variable files?
Files that can be changed by users
What does ls- l show?
lists everything in the long view ( for example shows permissions)
What is the difference between / and \
The second is the escape character for ‘quoting’ the first in the separator of directories when navigating the file system in the shell
Absolute pathname
Files relative to the root directory /home/user/documents/test.txt
What does ~ represents ?
tilde represent the home directory ~/test.txt
What is the relative pathname?
It is relative to the current directory using two hidden subdirectory . parent directory and .. one directory above parent directory.