btrfs
file managementLinux
The btrfs command is one of the most frequently used commands in Linux/Unix-like operating systems. btrfs Control and manage the Btrfs filesystem in Linux
Quick Reference
Command Name:
btrfs
Category:
file management
Platform:
Linux
Basic Usage:
btrfs [options] [arguments]
Common Use Cases
Syntax
btrfs [COMMAND] [OPTIONS] <args>
Options
Command Group | Description |
---|---|
balance |
Balance data across devices |
device |
Manage devices in the filesystem |
filesystem |
Manage filesystem parameters |
subvolume |
Create and manage subvolumes |
scrub |
Verify data and metadata integrity |
quota |
Manage filesystem quotas |
snapshot |
Create read-only or writable point-in-time copies |
send/receive |
Serialize and transfer subvolumes between filesystems |
restore |
Restore files from Btrfs snapshots |
inspect-internal |
Debug tools for Btrfs developers |
Common Options:
Option | Description |
---|---|
--help |
Display help for the command |
-v, --verbose |
Increase verbosity of output |
-q, --quiet |
Suppress unimportant output messages |
Examples
How to Use These Examples
The examples below show common ways to use the btrfs
command. Try them in your terminal to see the results. You can copy any example by clicking on the code block.
# Basic Examples Basic
btrfs filesystem show