Examples (6)
Open the filesystem in read only mode
debugfs /dev/sdXNOpen the filesystem in read write mode
debugfs -w /dev/sdXNRead commands from a specified file, execute them and then exit
debugfs -f path/to/cmd_file /dev/sdXN[Interactive] View the filesystem stats in debugfs console
stats[Interactive] Close the filesystem
close -a[Interactive] List all available commands
lrmade by @shridhargupta | data from tldr-pages