Skip to main content

Big Switch to Linux & File System


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.



# 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)




By - Somesh Sah

Comments

Popular posts from this blog

Understanding Default Terminal Commands & Path

# Understanding Default Terminal Commands This is very small topic to just introduce some specific symbols before introducing commands. It will help you for better understanding.  For demonstration, i am using "  Cygwin64 Terminal  " software which helps you to run Linux commands in Windows P.C  you can also use Linux Terminal(any distribution). shanti1 @ shanti2 : ~ $ shanti1  ®  Username shanti2  ®  Computer Name – used to identify the computer over the network. @ (at the rate)  ®   Simply means user(shanti1) is working on a computer  named (shanti2) over the network. :  (  colon  ) ®  Simple Separator ~ ( tilde sign )   ®   Shows that user working in home directory – if you change the directory, this sign will vanish. $ (doller)  ®  Suggests you are working as a regular user in Linux. Note - # (pound ) sign for root or m...

Linux Distribution & Installation

Linux Distribution  Linux is an open source operating system.it is used by programmers, organisations, profit or non-profit organisation around the world in order to create o/s to suit their individual need/requirement (For a detailed description of Linux click here ). So basically Distribution is nothing but the version or types of Linux. In Windows XP 2000, Vista, Windows 8, 8.1 .10 etc are the windows various versions...like that Linux also has different versions or types, known as Distribution or Distro . There are more than thousands Linux operating system, as we all know that Linux is an open source operating system, therefore, anyone with little knowledge of Linux can modify its original source code and make its own Linux distribution is also called customised operating system (make modifications according to your need. ) Each version, types, kind of Linux o/s are called distributions or Distros. (in short, version developed for customising...

Introduction To Linux

Operating System An operating system (OS) is system software that manages computer hardware and software resources and provides common services for computer programs. Or The operating system (OS) is the most important program that runs on a computer, Without OS in your computer, can not able to perform any activity like playing a song, movies, browsing etc. # There are Three Popular Operating Systems  Windows  Linux    Mac OS # Kernel  Kernel is the heart of operation system.It is responsible for communicating between Hardware and User Applications. # What is Linux? It is an Operating System or Kernel. It is the programmed heart of any operating system that takes care of the fundamental stuff like communication of hardware with software. ◘ Linux is an operating system. ◘ Linus Torvalds created/developed Linux.     * Note - Receptive to changes, modifications suggested by its users...