Forrest logo
tool overview
On this page you find all important commands for the CLI tool wipefs. If the command you are looking for is missing please ask our AI.

wipefs

Wipefs is a command line tool found in Linux-based systems that allows for wiping file system signatures from a device or partition. This tool is primarily used for erasing any existing file system signatures on a disk, making it appear clear or unpartitioned. It can be beneficial for security purposes, data recovery operations, or when preparing a disk for partitioning and creating new file systems. Wipefs supports various file system types, including common ones like ext2, ext3, ext4, NTFS, and FAT. It can also detect and wipe partition table signatures, allowing for a clean start when creating new partitions. Wipefs is a versatile tool that is often utilized in conjunction with other disk management tools to ensure complete erasure and prevent data leakages. Overall, it is a powerful utility for managing disk signatures and maintaining data privacy and security.

List of commands for wipefs:

  • wipefs:tldr:4c762 wipefs: Display signatures for specified device.
    $ sudo wipefs ${-dev-sdX}
    try on your machine
    explain this command
  • wipefs:tldr:788a0 wipefs: Perform dry run.
    $ sudo wipefs --all --no-act ${-dev-sdX}
    try on your machine
    explain this command
  • wipefs:tldr:92578 wipefs: Force wipe, even if the filesystem is mounted.
    $ sudo wipefs --all --force ${-dev-sdX}
    try on your machine
    explain this command
  • wipefs:tldr:9e2c7 wipefs: Wipe all available signature types for a specific device with no recursion into partitions.
    $ sudo wipefs --all ${-dev-sdX}
    try on your machine
    explain this command
  • wipefs:tldr:d3291 wipefs: Wipe all available signature types for the device and partitions using a glob pattern.
    $ sudo wipefs --all ${-dev-sdX}*
    try on your machine
    explain this command
tool overview