[No audio]
Linux file types. Did you know there are seven
different types of Linux files in Linux, that
includes directories, links, and whole bunch of
other stuffs, let's look at them one by one. The
first one is a regular file. Anything that does
not have a letter associated to it at the
beginning of it, it's a regular file. Anything
that starts with d, it's a directory. Any
attribute of a file that has an l in front of it
is a link. And anything starts with c is a special
file or device file, meaning if you attach a
keyboard, or a CPU or a memory, anything that is
attached to your system, that is also created as a
file, and that file starts with c. And there is a
socket file starts with s, named pipe that starts
with p, and a block device that starts with b.
Oftentimes, these are the type of questions that
are asked during the interview, they'll ask you
tell me the file that starts with c. What does
that file is for or what is the file that starts
with p. Now remember, I'm not talking about the
file name. I'm talking about the first column that
you see when you run ls -l that defines the
type of file that you're dealing with.
[No audio]