e2ls(1)

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.

  1. 3.1–5.0
  2. 6.0–10
  3. 11–13

-Z since Debian 11 (Bullseye); -n since Debian 11 (Bullseye).

Author

The e2tools were written by Keith Sheffield <[email protected]>.

This manual page was written by Lucas Wall <[email protected]>, for the Debian project (but may be used by others).

From e2tools 0.1.2-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.