38 Dired, the Directory Editor
Dired makes an Emacs buffer containing a listing of a directory, and
optionally some of its subdirectories as well. You can use the normal
Emacs commands to move around in this buffer, and special Dired commands
to operate on the files listed.
The Dired buffer is “read-only,” and inserting text in it is not
useful, so ordinary printing characters such as d and x are
used for special Dired commands. Some Dired commands mark or
flag the current file (that is, the file on the current
line); other commands operate on the marked files or on the flagged
The Dired-X package provides various extra features for Dired mode.