In this chapter, we'll spend some time exploring the Linux filesystem. We will explain what a filesystem is and what makes the Linux filesystem unique. We will describe the structure of the Linux filesystem and how, under Linux, (almost) everything is a file. We will do this interactively, giving your the first closer look at some common Linux commands which will be used in scripting later on.
The following commands will be introduced in this chapter: pwd, cd, df, echo, type, cat, and less.
The following topics will be covered in this chapter:
- The Linux filesystem explained
- The structure of the Linux filesystem
- Everything is a file