e2ls1
List files and directories on an ext2 filesystem
Usage
e2ls [options]
file_specification
Overview
The e2ls command is used to list files and directories on an ext2 filesystem.
Note
Files deleted via e2rm(1) sometimes will show up even without the -D option. It is being investigated.
Options
-
-a -
Show hidden directories.
-
-c -
Sort by creation time (must include -t when using -l).
-
-d dir -
Open the ext2 filesystem specified by dir.
-
-D -
Show deleted files bracketed with ><.
-
-f -
No sorting of the file list.
-
-i -
Show the inodes (very useful for the -l option).
-
-l -
Long listing.
-
-n -
Like -l, but list numeric user and group IDs.
-
-r -
Reverse the sort order.
-
-t -
Sort by time.
-
-Z -
List SELinux label from extended attributes.
Examples
e2ls -a boot.img:.
e2ls -l /dev/hdb1:/data
Releases
11 releases since Debian 3.1 (Sarge); the text changed 2 times.
-Z since Debian 11 (Bullseye);
-n since Debian 11 (Bullseye).