All Linux files have metadata associated with them. It's important to know important attributes about our files such as the file's type, which user and group can access it and how big it is. Using ls, file and stat gives us this information as well as when the file was accessed last and what permissions it will have when it runs.
- [Instructor] Data that describes other data…is called, metadata.…It's important to be able to view metadata describing…attributes of our files.…These attributes may include the file name,…its size, permissions and ownership, and access time.…The quickest way to get information about a file…is by doing a long list.…In a Terminal,…type in ls -l /etc/passwd,…and hit enter.…This will give us a long list of the etc password file.…
Let's take a look.…In the first column is the file type.…In our example, the etc password file has a hyphen.…So it's a regular file.…The next three characters is the user owner's permissions.…The possible options are r for read,…w for write, and x for execute.…The user owner is the third column from the left.…In our case, the user owner is root.…The next three characters are the group owner's permissions.…
Every file is owned by one user owner,…and one group owner.…The group owner is the fourth column from the left.…The group owner of this file is the root group,…and its members can only read this file.…
- Define file Access Control Lists.
- Describe what extended globs add to Linux pattern matching.
- State why file system recovery tools are so important for Linux users.
- Recall what execute permissions on a directory allows.
- Cite the maximum allowed default permissions on a file in Linux.
- List some of the advantages of ACLs over standard Unix permissions.
Skill Level Intermediate
Linux: Desktops and Remote Accesswith Grant McWilliams1h 44m Intermediate
1. Linux Files
2. Manipulate Files
3. Standard Unix Permissions
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.