-
-b
-
Select batch mode:
dired
then sends its output to
stdout
without reading keyboard input, and without colorizing file names.
See the
COLOR SUPPORT
section below for details.
dired
will normally select batch mode automatically when its output is not a
terminal, but this option provides a way to force that for systems
where
dired
is unable to detect non-terminal output.
Use this option in conjunction with the sorting options described
below as an alternative to
ls(1).
-
-d
-
This flag is normally not specified by users;
dired
sets it for
dired
subprocesses.
-
-ffirstfile
-
Start the output with the specified file on the first line of the
display, but if that file is a directory, prevent attempts to edit it
recursively with the `e' command.
This option is ignored in batch mode.
-
-Ffirstfile
-
Start the output with the specified file on the first line of the
display.
This option is ignored in batch mode.
-
-g[gid-or-groupname]
-
Show only files belonging to the specified group id number or group
name. If the number or name is omitted, then the group id of the
current user is assumed.
-
-[s|r][c|g|G|i|l|n|N|r|s|t|u|U|w]
-
Forward or reverse sort by
creation date,
group name,
group number,
link count,
name(lexicographic),
name(numeric)
read date,
size,
type,
user name,
user number,
or
write date
respectively. ``Normal sort'' is the order most often desired; it is
descending for size and link counts, from newest to oldest for date
sorts, and ascending for other sorts. The default is to sort by name.
For equal sort keys, do a secondary sort to put the file names in
ascending order.
Numeric sorting of file names with
-sN
is useful in directories such as
/proc
and Usenet news trees, where files are named 1, 2, 3, ....
-
-m
-
Monochrome mode: suppress the default colorization of file names. See
the
COLOR SUPPORT
section below for details.
-
-u[uid-or-username]
-
Show only files belonging to the specified user id number or user
name. If the number or name is omitted, then the user id of the
current user is assumed.
-
-v
-
Show the program version on
stderr,
and quit immediately.
-
-w[f|h|number]
-
Use
number
lines for the directory index window, reserving the other half for quick
file display.
f
means use the full screen for the index.
h
means use half of the screen for the index.
h
is the default.