E2RM(1)
β¨ E2RM(1) β user commands, but make it cute β¨
okay bestie, welcome to e2rm π
it's part of the e2tools squad and it lives in section 1 of the manual (user commands, iykyk). let's get into it π
πΈ NAME πΈ
e2rm β deletes files and directories that live on an ext2 filesystem. yep, that's the whole gig. it's giving "rm but make it ext2" ππ
π¦ SYNOPSIS π¦
e2rm [options] files...
π DESCRIPTION π
so like, the e2rm command removes files and directories on an ext2 filesystem. that's it. that's the plot. it takes your files... and it says bye bye πβ¨ no cap.
π OPTIONS π
-rβ recursively delete files if a directory name is given. lowkey essential if you're trying to nuke a whole directory, otherwise it's not gonna do the thing π«Ά-vβ be verbose. it will tell you what it's doing, main character energy, narrating its own life π
π Note π
okay so real talk: this program expects to have a full ext2 file specification for each argument. like, every single argument needs the whole image:/path situation. no shortcuts, no "just the filename", none of that. fr fr.
π EXAMPLES π
Remove a file (so simple, so iconic):
e2rm -v boot.img:/boot/grub/grub.c1 /boot/grub/grub.c2
Remove a directory and all the files (go big or go home, hence the -r):
e2rm -r boot.img:/boot/grub
π SEE ALSO π
e2tools(7), e2ln(1), e2ls(1), e2mkdir(1), e2cp(1), e2mv(1), e2tail(1).
the whole fam, go check them out π
π§ AUTHOR π§
the e2tools were written by Keith Sheffield <sheff@pobox.com>. absolute legend, we stan π
this manual page was written by Lucas Wall <lwall@debian.org>, for the Debian project (but may be used by others). slay π
okay that's the whole page bestie, tysm for reading π this one's from the Linux manual, dated 2020-02-05, E2RM(1) era β and that's a wrap! π¦β¨
π¦ where this page comes from
- alpine 3.24: e2tools-doc 0.1.2-r1 Β· GPL-2.0-only
- debian bookworm: e2tools 0.1.0-3 Β· GPL-2.0-or-later
- debian trixie: e2tools 0.1.2-1 Β· GPL-2.0-or-later
- fedora 43: e2tools 0.1.0-14.fc43 Β· GPL-1.0-or-later
- fedora 44: e2tools 0.1.0-15.fc44 Β· GPL-1.0-or-later
- nixos 26.05: e2tools 0.1.2
- nixpkgs unstable: e2tools 0.1.2
- ubuntu jammy: e2tools 0.1.0-2 Β· GPL-2.0-or-later
- ubuntu noble: e2tools 0.1.0-3build2 Β· GPL-2.0-or-later
- ubuntu questing: e2tools 0.1.2-1
- ubuntu resolute: e2tools 0.1.2-1build1 Β· GPL-2.0-or-later
- ubuntu stonking: e2tools 0.1.2-1build1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms