Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
dir(1)
Edit
PageHistory
Diff
Info
LikePages
DIR !!!DIR NAME SYNOPSIS DESCRIPTION AUTHOR REPORTING BUGS COPYRIGHT SEE ALSO ---- !!NAME dir - list directory contents !!SYNOPSIS __dir__ [[''OPTION'']... [[''FILE'']... !!DESCRIPTION List information about the FILEs (the current directory by default). Sort entries alphabetically if none of __-cftuSUX__ nor __--sort__. __-a__, __--all__ do not hide entries starting with . __-A__, __--almost-all__ do not list implied . and .. __-b__, __--escape__ print octal escapes for nongraphic characters __--block-size__=''SIZE'' use SIZE-byte blocks __-B__, __--ignore-backups__ do not list implied entries ending with ~ __-c__ with __-lt__: sort by, and show, ctime (time of last modification of file status information) with __-l__: show ctime and sort by name otherwise: sort by ctime __-C__ list entries by columns __--color__[[=''WHEN''] control whether color is used to distinguish file types. WHEN may be `never', `always', or `auto' __-d__, __--directory__ list directory entries instead of contents __-D__, __--dired__ generate output designed for Emacs' dired mode __-f__ do not sort, enable __-aU__, disable __-lst__ __-F__, __--classify__ append indicator (one of */=@|) to entries __--format__=''WORD'' across __-x__, commas __-m__, horizontal __-x__, long __-l__, single-column __-1__, verbose __-l__, vertical __-C__ __--full-time__ list both full date and full time __-g__ (ignored) __-G__, __--no-group__ inhibit display of group information __-h__, __--human-readable__ print sizes in human readable format (e.g., 1K 234M 2G) __--si__ likewise, but use powers of 1000 not 1024 __-H__ same as `--si' for now; soon to change to conform to POSIX __--indicator-style__=''WORD'' append indicator with style WORD to entry names: none (default), classify (-F), file-type (-p) __-i__, __--inode__ print index number of each file __-I__, __--ignore__=''PATTERN'' do not list implied entries matching shell PATTERN __-k__, __--kilobytes__ like __--block-size__=''1024'' __-l__ use a long listing format __-L__, __--dereference__ show file information for referents of symlinks __-m__ fill width with a comma separated list of entries __-n__, __--numeric-uid-gid__ list numeric UIDs and GIDs instead of names __-N__, __--literal__ print raw entry names (don't treat e.g. control characters specially) __-o__ use long listing format without group info __-p__, __--file-type__ append indicator (one of /=@|) to entries __-q__, __--hide-control-chars__ print ? instead of non graphic characters __--show-control-chars__ show non graphic characters as-is (default unless program is `ls' and output is a terminal) __-Q__, __--quote-name__ enclose entry names in double quotes __--quoting-style__=''WORD'' use quoting style WORD for entry names: literal, locale, shell, shell-always, c, escape __-r__, __--reverse__ reverse order while sorting __-R__, __--recursive__ list subdirectories recursively __-s__, __--size__ print size of each file, in blocks __-S__ sort by file size __--sort__=''WORD'' extension __-X__, none __-U__, size __-S__, time __-t__, version __-v__ status __-c__, time __-t__, atime __-u__, access __-u__, use __-u__ __--time__=''WORD'' show time as WORD instead of modification time: atime, access, use, ctime or status; use specified time as sort key if __--sort__=''time'' __-t__ sort by modification time __-T__, __--tabsize__=''COLS'' assume tab stops at each COLS instead of 8 __-u__ with __-lt__: sort by, and show, access time with __-l__: show access time and sort by name otherwise: sort by access time __-U__ do not sort; list entries in directory order __-v__ sort by version __-w__, __--width__=''COLS'' assume screen width instead of current value __-x__ list entries by lines instead of by columns __-X__ sort alphabetically by entry extension __-1__ list one file per line __--help__ display this help and exit __--version__ output version information and exit By default, color is not used to distinguish types of files. That is equivalent to using __--color__=''none''. Using the __--color__ option without the optional WHEN argument is equivalent to using __--color__=''always''. With __--color__=''auto'', color codes are output only if standard output is connected to a terminal (tty). !!AUTHOR Written by Richard Stallman and David !MacKenzie. !!REPORTING BUGS Report bugs to !!COPYRIGHT Copyright 2001 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. !!SEE ALSO The full documentation for __dir__ is maintained as a Texinfo manual. If the __info__ and __dir__ programs are properly installed at your site, the command __info dir__ should give you access to the complete manual. ----
One page links to
dir(1)
:
Man1d
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.