If you read my previous posts on Linux then you probably understand why Linux is better than Windows or What is the difference between these two operating systems.
If you Unable to understand Difference between two, then, please go to the below link For Detailed on Difference between Windows and Linux, please visit diffen.com
# File System:
Unix or Linux use hierarchical file system or tree file system.
Everything in Linux is a FILE (Device, text file, music file, directories etc)
# Linux, the file is ordered to a tree structure.
-
Root director is considered as the start of a file system,
Roots is a way to go to other branches of the file directory.
In Linux, everything is a file.
# Types of file:
In Linux, everything is a file.
General Files:
Ø Also called ordinary file.
Ø Contain image, video, program*
Ø ASCII or Binary format
Ø Most commonly used file in Linux
Directory Files:
Ø Warehouse for other file types
Ø You have a directory file within a directory
Ø It is like a folder in Windows o/s.
Device files:
In windows, devices like printer usually show in My computer as attached with drive letters like G, H, I, J, ....
But in Linux, it is usually represented as a file like first Sata drive 3 primarily partitions
1) /dev /sda1
2) /dev /sda2
3) /dev /sda5
Therefore, all the dev files in ‘dev’ drives.
Note - All of these file types including the devices have permission to allow the user to read, write and execute.
Therefore, this is the powerful Linux or Unix Features.
Note - Access permission is allowed for different users.
# File Name Convention:
- In Windows, you cannot save two files with the same name while,
In Linux, it can be done. ‘File’ and ‘file’ are the different names so we can save it because Linux O/S is a ‘case sensitive’.
Note - In Linux, user is able to create their own director in Home directory only.(Similar to Windows user folders)
Comments
Post a Comment