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


The e2label command is a command line tool used in Linux operating systems. It is used to display or change the label (filesystem volume name) on an ext2, ext3, or ext4 file system. The label is a user-friendly name assigned to a filesystem to easily identify and refer to it. The command is primarily used to set or change the label of a mounted or un-mounted ext2, ext3, or ext4 filesystem partition. It is part of the e2fsprogs package, which contains several utilities for managing ext file systems. If run without any arguments, e2label displays the current label of the specified filesystem partition. Using the command with a filesystem device and a new label as arguments, will change the label of the specified filesystem to the new label. It is important to note that changing the label does not affect the content or data within the filesystem. The e2label command can be useful for administrators and users who want to assign or modify labels for better organization or clarity.

List of commands for e2label:

  • e2label:tldr:9701c e2label: Change the volume label on a specific ext partition.
    $ e2label ${-dev-sda1} "${label_name}"
    try on your machine
    explain this command
tool overview