block device

All posts tagged block device by Linux Bash
  • Posted on
    Featured Image
    The blog post details using the `lsblk --json` command in Linux to programmatically manage block devices. It explains `lsblk`'s importance in viewing device relationships and its JSON output option for easy scripting. The article provides simple `lsblk` usage examples, an executable script using `jq` to extract device names and sizes, and discusses the command's integration into automation scripts for efficient storage management in system administration and DevOps.
  • Posted on
    Featured Image
    Explore essential Linux file types: Regular Files, Directories, Block Devices, Character Devices, and Symbolic Links (Symlinks). Learn how these files differ in their interaction with the OS and hardware, vital for tasks like scripting, troubleshooting, and system management. This guide provides a fundamental understanding necessary for both new and expert users to effectively manage and navigate Linux environments.