xref: /netbsd-src/bin/ls/ls.1 (revision d10900a30791c2c75c369e15846468e45df7d140)
1*d10900a3Sjschauma.\"	$NetBSD: ls.1,v 1.83 2024/11/06 16:43:11 jschauma Exp $
249f0ad86Scgd.\"
383ede345Smycroft.\" Copyright (c) 1980, 1990, 1991, 1993, 1994
483ede345Smycroft.\"	The Regents of the University of California.  All rights reserved.
561f28255Scgd.\"
661f28255Scgd.\" This code is derived from software contributed to Berkeley by
761f28255Scgd.\" the Institute of Electrical and Electronics Engineers, Inc.
861f28255Scgd.\"
961f28255Scgd.\" Redistribution and use in source and binary forms, with or without
1061f28255Scgd.\" modification, are permitted provided that the following conditions
1161f28255Scgd.\" are met:
1261f28255Scgd.\" 1. Redistributions of source code must retain the above copyright
1361f28255Scgd.\"    notice, this list of conditions and the following disclaimer.
1461f28255Scgd.\" 2. Redistributions in binary form must reproduce the above copyright
1561f28255Scgd.\"    notice, this list of conditions and the following disclaimer in the
1661f28255Scgd.\"    documentation and/or other materials provided with the distribution.
17b5b29542Sagc.\" 3. Neither the name of the University nor the names of its contributors
1861f28255Scgd.\"    may be used to endorse or promote products derived from this software
1961f28255Scgd.\"    without specific prior written permission.
2061f28255Scgd.\"
2161f28255Scgd.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
2261f28255Scgd.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2361f28255Scgd.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2461f28255Scgd.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
2561f28255Scgd.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2661f28255Scgd.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2761f28255Scgd.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2861f28255Scgd.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2961f28255Scgd.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
3061f28255Scgd.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3161f28255Scgd.\" SUCH DAMAGE.
3261f28255Scgd.\"
3349f0ad86Scgd.\"     @(#)ls.1	8.7 (Berkeley) 7/29/94
34346aa5ddScgd.\"
35*d10900a3Sjschauma.Dd November 06, 2024
3661f28255Scgd.Dt LS 1
3761f28255Scgd.Os
3861f28255Scgd.Sh NAME
3961f28255Scgd.Nm ls
4083ede345Smycroft.Nd list directory contents
4161f28255Scgd.Sh SYNOPSIS
42c3872193Senami.Nm
43c7dda21cSchristos.Op Fl 1AaBbCcdFfghikLlMmnOoPpqRrSsTtuWwXx
440cb758feSenami.Op Ar
4561f28255Scgd.Sh DESCRIPTION
466f08f9dbSabsFor each
4761f28255Scgd.Ar file
486f08f9dbSabsoperand that names a file of a type other than
4961f28255Scgddirectory,
50c3872193Senami.Nm
5161f28255Scgddisplays its name as well as any requested,
5261f28255Scgdassociated information.
536f08f9dbSabsFor each
5461f28255Scgd.Ar file
556f08f9dbSabsoperand that names a file of type directory,
56c3872193Senami.Nm
5761f28255Scgddisplays the names of files contained
5861f28255Scgdwithin that directory, as well as any requested, associated
5961f28255Scgdinformation.
6061f28255Scgd.Pp
6161f28255ScgdIf no operands are given, the contents of the current
6261f28255Scgddirectory are displayed.
6361f28255ScgdIf more than one operand is given,
6461f28255Scgdnon-directory operands are displayed first; directory
6561f28255Scgdand non-directory operands are sorted separately and in
6661f28255Scgdlexicographical order.
6761f28255Scgd.Pp
6861f28255ScgdThe following options are available:
6961f28255Scgd.Bl -tag -width indent
706f08f9dbSabs.It Fl \&1
716f08f9dbSabs(The numeric digit
726f08f9dbSabs.Dq one ) .
736f08f9dbSabsForce output to be one entry per line.
746f08f9dbSabsThis is the default when output is not to a terminal.
7561f28255Scgd.It Fl A
7661f28255ScgdList all entries except for
7761f28255Scgd.Ql \&.
7861f28255Scgdand
7961f28255Scgd.Ql \&.. .
8061f28255ScgdAlways set for the super-user.
814157dbb1Swiz.It Fl a
824157dbb1SwizInclude directory entries whose names begin with a
834157dbb1Swizdot
844157dbb1Swiz.Pq Sq \&. .
8521ab6335Sjschauma.It Fl B
86f95fad15SjoergForce printing of non-graphic characters in file names as \exxx, where xxx
8721ab6335Sjschaumais the numeric value of the character in octal.
882ccef82cSjschauma.It Fl b
8921ab6335SjschaumaAs
9021ab6335Sjschauma.Fl B ,
9121ab6335Sjschaumabut use C escape codes whenever possible.
9261f28255Scgd.It Fl C
9361f28255ScgdForce multi-column output; this is the default when output is to a terminal.
944157dbb1Swiz.It Fl c
956734ab72SjschaumaUse time when file status was last changed,
966f08f9dbSabsinstead of time of last modification of the file for printing
976f08f9dbSabs.Pq Fl l
986f08f9dbSabsor sorting
996f08f9dbSabs.Pq Fl t .
1006f08f9dbSabsOverrides
1016f08f9dbSabs.Fl u .
1024157dbb1Swiz.It Fl d
1034157dbb1SwizDirectories are listed as plain files (not searched recursively) and
10495f605c2Smbalmersymbolic links in the argument list are not followed.
1056f08f9dbSabsTurns off
1066f08f9dbSabs.Fl R
1076f08f9dbSabsif also given.
10861f28255Scgd.It Fl F
109fbaeb4bdSgrantDisplay a slash
110fbaeb4bdSgrant.Pq Sq \&/
111fbaeb4bdSgrantimmediately after each pathname that is a directory,
112fbaeb4bdSgrantan asterisk
113fbaeb4bdSgrant.Pq Sq \&*
114fbaeb4bdSgrantafter each that is executable,
115fbaeb4bdSgrantan at sign
116fbaeb4bdSgrant.Pq Sq \&@
117fbaeb4bdSgrantafter each symbolic link,
118fbaeb4bdSgranta percent sign
119fbaeb4bdSgrant.Pq Sq \&%
120fbaeb4bdSgrantafter each whiteout,
121fbaeb4bdSgrantan equal sign
122fbaeb4bdSgrant.Pq Sq \&=
123fbaeb4bdSgrantafter each socket,
124fbaeb4bdSgrantand a vertical bar
125fbaeb4bdSgrant.Pq Sq \&|
126fbaeb4bdSgrantafter each that is a
127422216beSjtc.Tn FIFO .
12861f28255Scgd.It Fl f
12961f28255ScgdOutput is not sorted.
130b0b52b7fSwizThis option implies
131ac632886Swiz.Fl a .
132ac591fc0Slukem.It Fl g
13375d0e9d0SgrantThe same as
13475d0e9d0Sgrant.Fl l ,
13575d0e9d0Sgrantexcept that the owner is not printed.
136f4c47802Sgrant.It Fl h
137f4c47802SgrantModifies the
138f4c47802Sgrant.Fl l
1396f08f9dbSabsand
1406f08f9dbSabs.Fl s
141f4c47802Sgrantoptions, causing the sizes to be reported in bytes displayed in a human
142f4c47802Sgrantreadable format.
14307d5d4dfSwizOverrides
1444aaf499cSerh.Fl k
1454aaf499cSerhand
1464aaf499cSerh.Fl M .
14761f28255Scgd.It Fl i
14861f28255ScgdFor each file, print the file's file serial number (inode number).
14961f28255Scgd.It Fl k
15061f28255ScgdModifies the
15161f28255Scgd.Fl s
15261f28255Scgdoption, causing the sizes to be reported in kilobytes.
1536f08f9dbSabsOverrides
1546f08f9dbSabs.Fl h .
1554157dbb1Swiz.It Fl L
1562d28a893SeladFor each file, if it's a link, evaluate file information and file type
1572d28a893Seladof the referenced file and not the link itself; however still print
1582d28a893Seladthe link name, unless used with
1592d28a893Selad.Fl l ,
1602d28a893Seladfor example.
16161f28255Scgd.It Fl l
162fbaeb4bdSgrant(The lowercase letter
163fbaeb4bdSgrant.Dq ell ) .
16414dfaa4bSwizList in long format.
16514dfaa4bSwiz(See below.)
1664aaf499cSerh.It Fl M
1674aaf499cSerhModifies the
1684aaf499cSerh.Fl l
1694aaf499cSerhand
1704aaf499cSerh.Fl s
1714aaf499cSerhoptions, causing the sizes or block counts reported to be separated with
1724aaf499cSerhcommas (or a locale appropriate separator) resulting in a more readable
1734aaf499cSerhoutput.
1744aaf499cSerhOverrides
1756f08f9dbSabs.Fl h ;
1766f08f9dbSabsdoes not override
1774aaf499cSerh.Fl k .
178b7443b0fSkleink.It Fl m
179b7443b0fSkleinkStream output format; list files across the page, separated by commas.
180ac591fc0Slukem.It Fl n
18141f5d0fdSlukemThe same as
18241f5d0fdSlukem.Fl l ,
18341f5d0fdSlukemexcept that
18441f5d0fdSlukemthe owner and group IDs are displayed numerically rather than converting
18541f5d0fdSlukemto a owner or group name.
1860c47a5c3Schristos.It Fl O
1879a4a3162SwizOutput only leaf files (not directories), eliding other
1889a4a3162Swiz.Nm
1899a4a3162Swizoutput.
190203e4227Smycroft.It Fl o
191203e4227SmycroftInclude the file flags in a long
192203e4227Smycroft.Pq Fl l
193ac591fc0Slukemoutput.
1941f786e2cSlukemIf no file flags are set,
1951f786e2cSlukem.Dq -
1961f786e2cSlukemis displayed.
1971f786e2cSlukem(See
1981f786e2cSlukem.Xr chflags 1
1991f786e2cSlukemfor a list of possible flags and their meanings.)
2000c47a5c3Schristos.It Fl P
2010c47a5c3SchristosPrint the full pathname for each file.
202b424b8feSkleink.It Fl p
203fbaeb4bdSgrantDisplay a slash
204fbaeb4bdSgrant.Pq Sq \&/
205fbaeb4bdSgrantimmediately after each pathname that is a directory.
20661f28255Scgd.It Fl q
2073dc055fbSyamtForce printing of non-printable characters in file names as
208fbaeb4bdSgrantthe character
209fbaeb4bdSgrant.Sq \&? ;
210fbaeb4bdSgrantthis is the default when output is to a terminal.
2114157dbb1Swiz.It Fl R
2124157dbb1SwizRecursively list subdirectories encountered.
2136f08f9dbSabsSee also
2146f08f9dbSabs.Fl d .
21561f28255Scgd.It Fl r
21661f28255ScgdReverse the order of the sort to get reverse
217f6a07377Smycroftlexicographical order or the smallest or oldest entries first.
2184157dbb1Swiz.It Fl S
2194157dbb1SwizSort by size, largest file first.
22061f28255Scgd.It Fl s
221203e4227SmycroftDisplay the number of file system blocks actually used by each file, in units
2222cf84fc2Spookaof 512 bytes or
2232cf84fc2Spooka.Ev BLOCKSIZE
2242cf84fc2Spooka(see
2252cf84fc2Spooka.Sx ENVIRONMENT )
2262cf84fc2Spookawhere partial units are rounded up to the
2272cf84fc2Spookanext integer value.
228*d10900a3SjschaumaIn multi-column output
229*d10900a3Sjschauma.Pq Fl C No or Fl x ,
230*d10900a3Sjschaumaa total sum of all the file sizes in each directory is output on a line
231*d10900a3Sjschaumabefore the listing.
2324157dbb1Swiz.It Fl T
2334157dbb1SwizWhen used with the
2344157dbb1Swiz.Fl l
2354157dbb1Swiz(the lowercase letter
2364157dbb1Swiz.Dq ell )
2374157dbb1Swizoption, display complete time information for the file, including
2384157dbb1Swizmonth, day, hour, minute, second, and year.
23961f28255Scgd.It Fl t
24061f28255ScgdSort by time modified (most recently modified
24161f28255Scgdfirst) before sorting the operands by lexicographical
24261f28255Scgdorder.
24361f28255Scgd.It Fl u
24461f28255ScgdUse time of last access,
24561f28255Scgdinstead of last modification
2466f08f9dbSabsof the file for printing
2476f08f9dbSabs.Pq Fl l
2486f08f9dbSabsor sorting
2496f08f9dbSabs.Pq Fl t .
2506f08f9dbSabsOverrides
2516f08f9dbSabs.Fl c .
252f999ca1aShira.It Fl W
253f999ca1aShiraDisplay whiteouts when scanning directories.
25421ab6335Sjschauma.It Fl w
25521ab6335SjschaumaForce raw printing of non-printable characters.
25621ab6335SjschaumaThis is the default when output is not to a terminal.
257ac591fc0Slukem.It Fl x
258ac591fc0SlukemMulti-column output sorted across the page rather than down the page.
259c7dda21cSchristos.It Fl X
260c7dda21cSchristosDon't cross mount points when recursing.
26161f28255Scgd.El
26261f28255Scgd.Pp
26361f28255ScgdThe
26421ab6335Sjschauma.Fl B ,
26521ab6335Sjschauma.Fl b ,
2666f08f9dbSabs.Fl q ,
26721ab6335Sjschaumaand
2686f08f9dbSabs.Fl w
26921ab6335Sjschaumaoptions all override each other; the last one specified determines
27021ab6335Sjschaumathe format used for non-printable characters.
27121ab6335Sjschauma.Pp
27221ab6335SjschaumaThe
27361f28255Scgd.Fl 1 ,
27461f28255Scgd.Fl C ,
27598615dcfSjschauma.Fl g ,
276ac591fc0Slukem.Fl l ,
277b7443b0fSkleink.Fl m ,
27861f28255Scgdand
279ac591fc0Slukem.Fl x
28061f28255Scgdoptions all override each other; the last one specified determines
28198615dcfSjschaumathe format used with the exception that if both
28298615dcfSjschauma.Fl l
28398615dcfSjschaumaand
28498615dcfSjschauma.Fl g
28598615dcfSjschaumaare specified,
28698615dcfSjschauma.Fl l
28798615dcfSjschaumawill always override
28898615dcfSjschauma.Fl g ,
28998615dcfSjschaumaeven if
29098615dcfSjschauma.Fl g
29198615dcfSjschaumawas specified last.
29261f28255Scgd.Pp
29361f28255ScgdBy default,
294c3872193Senami.Nm
29561f28255Scgdlists one entry per line to standard
29661f28255Scgdoutput; the exceptions are to terminals or when the
29761f28255Scgd.Fl C
298b7443b0fSkleinkor
299b7443b0fSkleink.Fl m
300b7443b0fSkleinkoptions are specified.
30161f28255Scgd.Pp
30261f28255ScgdFile information is displayed with one or more
30307d5d4dfSwiz.Aq blank
3046f08f9dbSabscharacters separating the information associated with the
30561f28255Scgd.Fl i ,
3066f08f9dbSabs.Fl l ,
30761f28255Scgdand
3086f08f9dbSabs.Fl s
30961f28255Scgdoptions.
31061f28255Scgd.Ss The Long Format
31161f28255ScgdIf the
31261f28255Scgd.Fl l
31361f28255Scgdoption is given, the following information
314203e4227Smycroftis displayed for each file:
3151f786e2cSlukem.Bl -item -offset indent -compact
3161f786e2cSlukem.It
3171f786e2cSlukemfile mode
3181f786e2cSlukem.It
3191f786e2cSlukemnumber of links
3201f786e2cSlukem.It
3211f786e2cSlukemowner name
3221f786e2cSlukem.It
3231f786e2cSlukemgroup name
3241f786e2cSlukem.It
3251f786e2cSlukemfile flags (if
3261f786e2cSlukem.Fl o
3271f786e2cSlukemgiven)
3281f786e2cSlukem.It
3291f786e2cSlukemnumber of bytes in the file
3301f786e2cSlukem.It
3311f786e2cSlukemabbreviated month file was last modified
3321f786e2cSlukem.It
3331f786e2cSlukemday-of-month file was last modified
3341f786e2cSlukem.It
3351f786e2cSlukemhour and minute file was last modified
3361f786e2cSlukem.It
3371f786e2cSlukempathname
3381f786e2cSlukem.El
3391f786e2cSlukem.Pp
340203e4227SmycroftIn addition, for each directory whose contents are displayed, the total
3416f08f9dbSabsnumber of file system blocks in units of 512 bytes or
3429ed3eb6eSwiz.Ev BLOCKSIZE
3439ed3eb6eSwiz(see
344708ea1dcSjschauma.Sx ENVIRONMENT )
345708ea1dcSjschaumaused by the files in the directory is displayed on a line by itself
346708ea1dcSjschaumaimmediately before the information for the files in the directory.
34761f28255Scgd.Pp
34841f5d0fdSlukemIf the owner or group names are not a known owner or group name,
349ac591fc0Slukemor the
350ac591fc0Slukem.Fl n
351ac591fc0Slukemoption is given,
352203e4227Smycroftthe numeric ID's are displayed.
35361f28255Scgd.Pp
35461f28255ScgdIf the file is a character special or block special file,
35561f28255Scgdthe major and minor device numbers for the file are displayed
3564d71b153Sfairin the size field.
3574d71b153SfairIf the file is a symbolic link the pathname of the
35861f28255Scgdlinked-to file is preceded by
35901869ca4Swiz.Dq \-> .
36061f28255Scgd.Pp
361ac591fc0SlukemThe file mode printed under the
362ac591fc0Slukem.Fl l
3639fdd63d7Swizoption consists of the entry type, owner permissions, group
3649fdd63d7Swizpermissions, and other permissions.
36561f28255ScgdThe entry type character describes the type of file, as
36661f28255Scgdfollows:
36761f28255Scgd.Pp
36861f28255Scgd.Bl -tag -width 4n -offset indent -compact
3696f08f9dbSabs.It Sy \-
3706f08f9dbSabsRegular file.
371cfbe6aa4Selad.It Sy a
372cfbe6aa4SeladArchive state 1.
373cfbe6aa4Selad.It Sy A
374cfbe6aa4SeladArchive state 2.
37561f28255Scgd.It Sy b
37661f28255ScgdBlock special file.
37761f28255Scgd.It Sy c
37861f28255ScgdCharacter special file.
37961f28255Scgd.It Sy d
38061f28255ScgdDirectory.
38161f28255Scgd.It Sy l
38261f28255ScgdSymbolic link.
3835a87b7ddSmjl.It Sy p
3845a87b7ddSmjlFIFO.
3856f08f9dbSabs.It Sy s
3866f08f9dbSabsSocket link.
387d966913fSmycroft.It Sy w
388d966913fSmycroftWhiteout.
38961f28255Scgd.El
39061f28255Scgd.Pp
39161f28255ScgdThe next three fields
39261f28255Scgdare three characters each:
39361f28255Scgdowner permissions,
39461f28255Scgdgroup permissions, and
39561f28255Scgdother permissions.
39661f28255ScgdEach field has three character positions:
39761f28255Scgd.Bl -enum -offset indent
39861f28255Scgd.It
39961f28255ScgdIf
40061f28255Scgd.Sy r ,
40161f28255Scgdthe file is readable; if
40261f28255Scgd.Sy \- ,
40361f28255Scgdit is not readable.
40461f28255Scgd.It
40561f28255ScgdIf
40661f28255Scgd.Sy w ,
40761f28255Scgdthe file is writable; if
40861f28255Scgd.Sy \- ,
40961f28255Scgdit is not writable.
41061f28255Scgd.It
41161f28255ScgdThe first of the following that applies:
41261f28255Scgd.Bl -tag -width 4n -offset indent
41361f28255Scgd.It Sy S
41461f28255ScgdIf in the owner permissions, the file is not executable and
41561f28255Scgdset-user-ID mode is set.
41661f28255ScgdIf in the group permissions, the file is not executable
41761f28255Scgdand set-group-ID mode is set.
41861f28255Scgd.It Sy s
41961f28255ScgdIf in the owner permissions, the file is executable
42061f28255Scgdand set-user-ID mode is set.
42161f28255ScgdIf in the group permissions, the file is executable
42261f28255Scgdand setgroup-ID mode is set.
42361f28255Scgd.It Sy x
42461f28255ScgdThe file is executable or the directory is
42561f28255Scgdsearchable.
42661f28255Scgd.It Sy \-
427e04c8e07SjtcThe file is neither readable, writable, executable,
42814dfaa4bSwiznor set-user-ID nor set-group-ID mode, nor sticky.
42914dfaa4bSwiz(See below.)
43061f28255Scgd.El
43161f28255Scgd.Pp
43261f28255ScgdThese next two apply only to the third character in the last group
43361f28255Scgd(other permissions).
43461f28255Scgd.Bl -tag -width 4n -offset indent
43561f28255Scgd.It Sy T
43661f28255ScgdThe sticky bit is set
43761f28255Scgd(mode
43861f28255Scgd.Li 1000 ) ,
43914dfaa4bSwizbut not execute or search permission.
44014dfaa4bSwiz(See
44161f28255Scgd.Xr chmod 1
44261f28255Scgdor
4433598f933Swiz.Xr sticky 7 . )
44461f28255Scgd.It Sy t
44561f28255ScgdThe sticky bit is set (mode
44661f28255Scgd.Li 1000 ) ,
447e04c8e07Sjtcand is searchable or executable.
44861f28255Scgd(See
44961f28255Scgd.Xr chmod 1
45061f28255Scgdor
4513598f933Swiz.Xr sticky 7 . )
45261f28255Scgd.El
45361f28255Scgd.El
4544d71b153Sfair.Pp
4559aa2a9c3SchristosThe next field contains a
4569aa2a9c3Schristosplus
4579aa2a9c3Schristos.Pq Ql +
4589aa2a9c3Schristoscharacter if the file has an ACL, or a
4599aa2a9c3Schristosspace
4609aa2a9c3Schristos.Pq Ql " "
4619aa2a9c3Schristosif it does not.
4629aa2a9c3SchristosThe
4639aa2a9c3Schristos.Nm
4649aa2a9c3Schristosutility does not show the actual ACL;
4659aa2a9c3Schristosuse
4669aa2a9c3Schristos.Xr getfacl 1
4679aa2a9c3Schristosto do this.
4689aa2a9c3Schristos.Pp
4694d71b153SfairThe number of bytes displayed for a directory is a function of the
4704d71b153Sfairnumber of
4719f266c10Snjoly.Xr dirent 3
4724d71b153Sfairstructures in the directory, not all of which may be allocated to
4734d71b153Sfairany existing file.
4748adaff33Swiz.Sh ENVIRONMENT
47561f28255ScgdThe following environment variables affect the execution of
476990562bfSwiz.Nm :
477203e4227Smycroft.Bl -tag -width BLOCKSIZE
478203e4227Smycroft.It Ev BLOCKSIZE
4799a3ca97fSjtcIf the environment variable
480203e4227Smycroft.Ev BLOCKSIZE
481203e4227Smycroftis set, and the
482203e4227Smycroft.Fl k
4836f08f9dbSabsoption is not specified, the block counts
484203e4227Smycroft(see
4856f08f9dbSabs.Fl l
4866f08f9dbSabsand
487203e4227Smycroft.Fl s )
488203e4227Smycroftwill be displayed in units of that size block.
489d12393ebSbjh21.It Ev COLUMNS
49061f28255ScgdIf this variable contains a string representing a
49161f28255Scgddecimal integer, it is used as the
49261f28255Scgdcolumn position width for displaying
49361f28255Scgdmultiple-text-column output.
49461f28255ScgdThe
495c3872193Senami.Nm
49661f28255Scgdutility calculates how
49761f28255Scgdmany pathname text columns to display
49861f28255Scgdbased on the width provided.
49961f28255Scgd(See
50061f28255Scgd.Fl C . )
50183ede345Smycroft.It Ev TZ
50283ede345SmycroftThe timezone to use when displaying dates.
50383ede345SmycroftSee
50483ede345Smycroft.Xr environ 7
50583ede345Smycroftfor more information.
50661f28255Scgd.El
5073a7ba0e7Sjoerg.Sh EXIT STATUS
5083a7ba0e7Sjoerg.Ex -std
509203e4227Smycroft.Sh COMPATIBILITY
510203e4227SmycroftThe group field is now automatically included in the long listing for
511203e4227Smycroftfiles in order to be compatible with the
512203e4227Smycroft.St -p1003.2
513203e4227Smycroftspecification.
51461f28255Scgd.Sh SEE ALSO
5151f786e2cSlukem.Xr chflags 1 ,
51661f28255Scgd.Xr chmod 1 ,
5174d71b153Sfair.Xr stat 2 ,
5189f266c10Snjoly.Xr dirent 3 ,
51979f5a137Ssimonb.Xr getbsize 3 ,
5203598f933Swiz.Xr sticky 7 ,
5213598f933Swiz.Xr symlink 7
522203e4227Smycroft.Sh STANDARDS
523203e4227SmycroftThe
524c3872193Senami.Nm
52523e6aab1Sjtcutility is expected to be a superset of the
526203e4227Smycroft.St -p1003.2
527203e4227Smycroftspecification.
5285b466befSjtc.Sh HISTORY
5295b466befSjtcAn
530c3872193Senami.Nm
5315b466befSjtcutility appeared in
532614e7436Ssevan.At v1 .
533