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?

What is a file? - Linux Tutorial

From the course: Cert Prep: LPIC-1 Exam 101 (Version 5.0)

Start my 1-month free trial

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…

Contents