From the course: Cert Prep: LPIC-1 Exam 101 (Version 5.0)
Unlock the full course today
Join today to access over 22,400 courses taught by industry experts or purchase this course individually.
What is a file? - Linux Tutorial
From the course: Cert Prep: LPIC-1 Exam 101 (Version 5.0)
What is a file?
- [Instructor] In most operating systems, a file is an object such as a document or photo that's saved on a hard disk. These files are organized usin' named folders in a hierarchy. The first type of file that we'll talk about is a directory. A directory is a list of other files. It helps us organize our system so it's easier to find our files. We can identify directories by looking at the first character on the left of a long list using ls base -l. That first character should be the letter d. If the first charter's a hyphen, then it's a regular file. This includes most traditional files like documents and photos. If the first character's an l then it's a symbolic link. You can think of a symbolic link as a shortcut to another file. Viewing these files with ls base -l will show you where the link is pointing to. If the first character's a c, it's a character device file. These files output or input characters. For…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
-
-
-
-
Create and delete local user accounts4m 27s
-
Modify local user accounts4m 57s
-
Manage user passwords4m 15s
-
What is a file?2m 10s
-
Get file attributes3m 41s
-
Get extended attributes4m 13s
-
About standard Linux permissions1m 47s
-
File and directory modes1m 19s
-
File ownership4m 34s
-
Set permissions using numeric method3m 13s
-
Set permissions using symbolic method5m 16s
-
Default permissions using umask5m 51s
-
Special file bits: SUID and SGID3m 49s
-
Special directory bits: SGID and Sticky6m 26s
-
-
-