Professional Documents
Culture Documents
Lesson 2 - The File System
Lesson 2 - The File System
Lesson 2 - The File System
File systems are the mechanisms by which the data on a storage medium gets
organized.
If you have not used Linux before, the way that Linux stores and organizes
files is likely to be new to you because the layout is quite different from
Windows and Mac OS X.
In the Windows world, each disk drive is labeled with an identifying letter
such as C: for your hard disk and D: for the CD/DVD drive. In the Linux
world, however, everything is part of the same filesystem organization.
As such, if you have two or three hard disks, a CD drive, and a USB stick all
plugged in, they will all be part of the same folder structure.
What is a File?
UNIX expands the usual definition of a file to include
anything from which data can be taken or to which data
can be sent.
It can also refer to the various I/O devices (keyboard,
printer etc)
Since that describes virtually everything the OS deals
with, it is often said that everything is a file in UNIX
Three general kinds of UNIX files
Ordinary files:- – These are the common computer files
Special files :- Also called device files, special files represent
physical devices such as terminals, printers and other peripherals.
Directory files:- Ordinary and special files are organized into
collections called directory files or directories
• The Linux file system
The Linux Directory Structure
• The file system is a tree-shaped structure.
• /dev: Each device on your system (such as sound cards, Webcams, etc.)
has an entry in this folder. Each application accesses the device by using
the relevant items inside /dev.
• /etc: ( editable text conf.) System wide configuration files for the
software installed on your system are stored here.
• /home: Each user account on the system has a home directory that is
stored here.
The Linux Directory Structure
• /lib: (libraries) Important system software libraries are stored here.
You should never need to delve into this world of the unknown.
• The more you can do from one place, the more efficient your
actions will be. Here is a list of things you can do with Unity
without moving your hands away from the keyboard.
Switching Shortcuts
• Ctrl + Super-Cursor up: Fully Maximize the current window when the
window is semi-maxi
Learning Unity Keyboard Shortcuts
Switching Shortcuts