Linux uses a permissions mode string to control which users can access certain files. This video demonstrates how permissions can be set.
- [Instructor] At first look, file permissions…can seem rather cryptic.…We've seen them before when listing files in a directory…but it's not immediately clear what they mean.…RWXR-XR-X might not make any sense right now,…but it will soon.…The sequence of letters breaks down into three groups.…The first represents the user, or the owner of the file.…The second group of three represents the group…that owns the file, and the third group represents…all other users not in the group that owns the file.…
Each of the groups of three breaks down…into three individual letters,…which stand for Read, Write, and eXecute.…Read means that someone can see the contents…of a file but not modify it.…Write means that someone can make a change to the file,…but not read the contents,…and execute means that someone can run the file,…for example, a program or script,…without loading it into another program first.…There are a couple of other letters you may see and hear,…but R, W, and X will take care…of what we need to do for now.…
We can change the permissions of a file…
- Recognize what the characters “-h” represent in the statement “df –h/home/alice/Documents”.
- Explain how to recall a previous command in Bash.
- Identify what the command “ls -l” will show.
- Recall what is needed to use the find command to look for files by name, size, and so on.
- List the two modes file permissions can be set to.
- Recall why many command line tools are intended to be used in pipes with other commands.
- Explain what the command “grep -E "" report.txt” will show.
- Identify what the “>” symbol is often used for.
Skill Level Beginner
Learning SQL Server Development on Linuxwith Joey D'Antoni1h 54m Intermediate
What you should know1m 51s
1. Setting Up Your Environment
2. Command-Line Basics
3. Files, Folders, and Permissions
4. Common Command-Line Tasks and Tools
5. A Peek at Some More Advanced Topics
Next steps1m 28s
- 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.