Operating System Lab2
Operating System Lab2
Lab2
Linux Files in Ubuntu
In Ubuntu, everything is treated as a file, simplifying system management and enabling flexible interaction with system
resources using standard file operations.
Types of Files in Ubuntu
Regular Files (-) Directory Files (d) Special Files
These are standard files These files organize other files These files represent hardware
containing data, text, or program and directories into a devices and system resources.
instructions. hierarchical structure.
Welcome to the Linux Filesystem!
Linux uses a hierarchical filesystem. It is structured like an upside-down tree.
Mastering basic directory commands is crucial. It's key for working in the terminal.
Think of navigating folders. It's like Windows or macOS. You'll do this entirely through text commands.
pwd: Know Where You Are
`pwd` stands for "print working directory." It displays your current
location's absolute path.
Examples:
`cd ..`: Moves up one directory level (to the parent directory).
5
Tools
The number of essential tools you now understand.