From the course: LPI Linux Essentials (010-160) Cert Prep
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Hiding files and directories - Linux Tutorial
From the course: LPI Linux Essentials (010-160) Cert Prep
Hiding files and directories
- If you're a Windows user, you may be familiar with the concept of a hidden bit. This is going to hide a file from view in the file managers, and by default, the Windows dir command and most other programs aren't going to see it. Now, Linux has something analogous to this, but it's not in the form of a dedicated file system feature. Instead, Linux uses a file naming convention to hide files from view. So, for example, if I'm using the ls command to list out files in a directory and I have a file named myfile.txt, that will show up. But, if I have .myfile.txt, that's not going to show up. Most file managers and dial out boxes that deal with files also will hide such dotfiles, as they're commonly referred to. But this practice is not universal. Many user programs will take advantage of this feature to keep their configuration files from cluttering up your display. They'll simply name them as dot whatever the…
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
-
-
-
-
-
-
-
-
-
-
-
-
-
(Locked)
Setting ownership4m 25s
-
(Locked)
Setting ownership demonstration4m 6s
-
(Locked)
Understanding permissions4m 9s
-
(Locked)
Permission strings and setting the umask6m 25s
-
(Locked)
Using sticky bits2m 44s
-
(Locked)
Using special execute permissions3m 41s
-
(Locked)
Hiding files and directories2m 24s
-
(Locked)
Setting permissions7m 9s
-
(Locked)
-