Skip to content
  • Linkedin
  • Youtube
  • Pinterest
  • Home
  • Privacy Policy
  • About
  • Contact
Programmingoneonone

Programmingoneonone

Programmingoneonone is a website that publishes daily tutorials, methods, guides, and articles on IT, Education, and technology.

  • Home
  • Human Values
  • DSA
  • IoT Tutorials
  • Interview Questions and Answers
  • Toggle search form
file system in linux

File system in Linux

Posted on 3 June 20233 June 2023 By YASH PAL No Comments on File system in Linux

File System – Linux has a hierarchical filesystem (directories within directories and files, and directories, and device drivers are treated as files). Filesystem supports 256 – character filenames avoid symbols and punctuation except for the dot (.). All command line entries are case-sensitive. Also, note that Linux uses the slash (/) rather than the backslash (\)

What is a File?

Files are the creation of data items stored on a disk or it’s a device that can store information, data, music, picture, movie, sound, books, etc. In fact whatever we store on the computer must be in form of a file. Files are always associated with devices like hard disks, floppy, discs, etc.

What is a directory?

A directory is a group of files Directory is divided into two types:

  • Root Directory: There is only one root directory in our system. Which is denoted deleted by/(forward slash). It is the root of our entire file system and can not be renamed or deleted.
  • Subdirectory: The directory under the root (/) directory is a subdirectory that can be created, and renamed by the user.

The file system begins with a directory called root the root directory is denoted slash (/). In the root directory, there are several other directories called bin, lib, usr, etc, tmp, and dev. Each of these subdirectories contains several files and directories called sub-sub directories.

file system in linux
file system in linux

These subdirectories are used to keep related files together and separate them from another group of related files.

  • bin directory: Contain executable files for most of the command. It includes a binary executable file.
  • lib: This directory contains a library function. The program used these library functions in the lib directory.
  • dev: This directory is within files that control various input/output devices like printers, disk drives, etc. For each device, there is a separate file.
  • etc: Binary executable files are usually required for system administration.
  • tmp: This directory contains the temporary files created by Unix or by the user. These files are created for a temporary purpose. These files are automatically deleted when the system is shut down or restored.
  • usr: This directory is associated with a particular user and it is created by the system administrator when the user creates an account for a different
  • user: In the usr directory, there is another bin directory that contains additional command fields.
Computer Science Tutorials, Linux Tags:computer science, Linux

Post navigation

Previous Post: List of Commands in Linux
Next Post: Access permissions in Linux

Related Tutorials

programming languages for machine learning and data science Top Programming Languages For Machine Learning Computer Science Tutorials
Introduction to Statistics for Data Science: Building a Solid Foundation Computer Science Tutorials
How to Become a Successful Data Engineer in the Data Science Field – Complete Guide Computer Science Tutorials
Is Python a good language for Machine Learning/AI? Computer Science Tutorials
basics of boolean algebra Its Operators, Laws, and Examples Basics of Boolean Algebra: Its Operators, Laws, and Examples Boolean Algebra
x winodws in linux X Windows system in Linux Computer Science Tutorials

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Pick your Subject

  • Internet of Things
  • Data Structures/Algorithms
  • Interview Preparation
  • Human Values
  • Java Interview Questions and Answers (2023)
    Thinking of becoming a Java developer? I must say it’s a good choice! Java is continuously named the most popular programming language. And the … Read more
  • Iot(Internet of things) in healthcare
    IoT in Healthcare
    IoMT (Internet of Medical Things) stands for devices that can collect and exchange data – either with users or other devices via the internet, … Read more
  • four stages of iot solution for industry
    IoT for Industry
    In this post, we are going to learn about use cases of IoT for Industry and four stages for providing IoT solutions. Machine Diagnosis … Read more
  • Iot for agricultural
    IoT in Agriculture
    IoT technology has realized smart wearables, connected devices, automated machines, and driverless cars. However, in agriculture, the IoT has brought the greatest impact. Amongst the challenges … Read more
  • Iot for logistics
    IoT in Logistics and Supply Chain
    IoT applications for smart logistics and supply chain systems:  Logistics Fleet Tracking  To track the locations of the vehicles in real time, the vehicle … Read more
  • Algorithms Tutorials
  • Basic Programming
  • Boolean Algebra
  • C Programming Tutorials
  • C++ Tutorials
  • Compiler Design Tutorials
  • Computer Networks Tutorials
  • Computer Organization Tutorials
  • Computer Science Tutorials
  • Data Structures Tutorials
  • DBMS Tutorials
  • Developer Guide
  • Digital Communication
  • Digital Logic Tutorials
  • Internet of Things Tutorials
  • Internet Tutorials
  • Interview questions answers
  • Java Tutorials
  • Javascript Tutorials
  • Linux
  • Machine Learning Tutorials
  • Operating Systems Tutorials
  • Programming Tutorials
  • Projects
  • Tips&Tricks
  • Tools
  • VBScript Tutorials
  • Java Interview Questions and Answers (2023)
    Thinking of becoming a Java developer? I must say it’s a good choice! Java is continuously named the most popular programming language. And the … Read more
  • Iot(Internet of things) in healthcare
    IoT in Healthcare
    IoMT (Internet of Medical Things) stands for devices that can collect and exchange data – either with users or other devices via the internet, … Read more
  • four stages of iot solution for industry
    IoT for Industry
    In this post, we are going to learn about use cases of IoT for Industry and four stages for providing IoT solutions. Machine Diagnosis … Read more
  • Iot for agricultural
    IoT in Agriculture
    IoT technology has realized smart wearables, connected devices, automated machines, and driverless cars. However, in agriculture, the IoT has brought the greatest impact. Amongst the challenges … Read more
  • Iot for logistics
    IoT in Logistics and Supply Chain
    IoT applications for smart logistics and supply chain systems:  Logistics Fleet Tracking  To track the locations of the vehicles in real time, the vehicle … Read more

Copyright © 2023 Programmingoneonone.

Powered by PressBook Blog WordPress theme