filesystem

All posts tagged filesystem by Linux Bash
  • Posted on
    Featured Image
    The article details the critical role of the `/dev` directory in Linux for managing devices, ranging from hard drives to virtual devices. It explains how Linux treats devices as files, allowing for standardized interactions like reading and writing using familiar file operations. Various device files, including block, character, and pseudo devices, are discussed, emphasizing practical applications and security implications for efficient and safe device management in Linux.
  • Posted on
    Featured Image
    The article provides an extensive overview of the Linux `stat` command, a crucial tool for displaying detailed file and filesystem statistics essential in system administration, troubleshooting, and scripting. It covers the command’s functionalities, installation processes across various Linux distributions, and practical usage examples. Exploring the features of `stat`, the article shows how to retrieve file sizes, permissions, and timestamps, and includes further reading resources for expanded learning.
  • Posted on
    Featured Image
    Discover the `blkid` command's potential with our guide on identifying and managing block devices in Linux. Learn how to install and use `blkid` across different distributions using `apt`, `dnf`, and `zypper`. This tool, part of the util-linux package, efficiently displays crucial attributes like UUIDs and filesystem types for block devices, indispensable for system admins and power users aiming for superior storage management and system checks.
  • Posted on
    Featured Image
    Explore the complexities of managing files in Linux using symbolic and hard links. This guide explains their nature, benefits like space efficiency and ease of updates, and practical use cases such as organizing shared resources and managing system files. Learn commands for `apt`, `dnf`, and `zypper` to handle packages across different Linux distributions. Ideal for system administrators looking to optimize file management and system efficiency.
  • Posted on
    Featured Image
    This blog post details how to use procfs in Linux to access system info for Bash scripts. It covers essential `/proc` directories, providing insights into CPU, memory, and network data, and includes script examples, permission handling tips, and package management advice across various distributions. It's ideal for system admins and developers looking to enhance system monitoring and management.
  • Posted on
    Featured Image
    This guide explores disk partitioning and management in Linux using the `fdisk` and `parted` tools. It details how to install and utilize `fdisk` for MBR partitions and `parted` for both MBR and GPT partitions, offering step-by-step instructions and precautions like data backup and understanding disk structures for effective management. It covers selecting file systems and includes resources for further learning.
  • Posted on
    Featured Image
    Learn to navigate the Linux filesystem effectively with this detailed guide. Understand the hierarchical structure from the root directory to subdirectories, utilizing essential commands like 'cd', 'ls', and 'pwd'. The article provides insights into file management, directory roles, device management via symbolic links, and the differentiation between variable and static data. Ideal for new users or those seeking a refresher, it's a valuable resource for managing files and scripting in Linux.