3. Agenda
File system types
Some commands
Find locate and updatedb
Wildcards
Linking and Links
File ownership
Getting help
Tab completion
Redirection
4. File System Types
In computing, file system or filesystem is a method and
data structure that the operating system uses to control
how data is stored and retrieved.
Without a file system, data placed in a storage medium
would be one large body of data with no way to tell where
one piece of data stops and the next begins.
6. File System Types
By separating the data into pieces and giving each piece
a name, the data is easily isolated and identified.
Taking its name from the way paper-based data
management system is named, each group of data is
called a "file."
The structure and logic rules used to manage the groups
of data and their names is called a "file system."
7. File System Types
There are many different kinds of file systems.
Each one has different structure and logic, properties of
speed, flexibility, security, size and more.
Some file systems have been designed to be used for
specific applications.
For example, the ISO 9660 file system is designed
specifically for optical discs.
8. File System Types
File systems can be used on numerous different types of
storage devices that use different kinds of media.
As of 2019, hard disk drives have been key storage
devices and are projected to remain so for the
foreseeable future.
9. File System Types
Other kinds of media that are used include SSDs,
magnetic tapes, and optical discs. In some cases, such
as with tmpfs, the computer's main memory (random-
access memory, RAM) is used to create a temporary file
system for short-term use.
10. File System Types
Some file systems are used on local data storage
devices; others provide file access via a network protocol
(for example, NFS, SMB, or 9P clients).
Some file systems are "virtual", meaning that the
supplied "files" (called virtual files) are computed on
request (such as procfs and sysfs) or are merely a
mapping into a different file system used as a backing
store.
11. File System Types
Good summary
https://en.wikipedia.org/wiki/File_system
Comparison
https://en.wikipedia.org/wiki/Comparison_of_file_systems
12. Important ones to know
The ones to know are ext2,3,4 and ZFS.
The others are for advanced specific cases when the
above ones are not capable or compatible.
An example is SSD Drives and NVRAM.
Not part of this intro course.
13. Important ones to know
Ext2, ext3 and ext4 are commonly used in Linux.
When you have less than 3 harddisks in a machine.
ZFS can be used for making storage servers.
When you have at least 3 harddisks in a machine.
14. Some commands
Now we shall continue with some of the hundreds
of Linux and Unix commands available to
administrators.
21. wildcards
$
Matches the ending position of the string or the
position just before a string-ending newline.
In line-based tools, it matches the ending position
of any line.