ls.1 (140050) | ls.1 (140353) |
---|---|
1.\"- 2.\" Copyright (c) 1980, 1990, 1991, 1993, 1994 3.\" The Regents of the University of California. All rights reserved. 4.\" 5.\" This code is derived from software contributed to Berkeley by 6.\" the Institute of Electrical and Electronics Engineers, Inc. 7.\" 8.\" Redistribution and use in source and binary forms, with or without --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)ls.1 8.7 (Berkeley) 7/29/94 | 1.\"- 2.\" Copyright (c) 1980, 1990, 1991, 1993, 1994 3.\" The Regents of the University of California. All rights reserved. 4.\" 5.\" This code is derived from software contributed to Berkeley by 6.\" the Institute of Electrical and Electronics Engineers, Inc. 7.\" 8.\" Redistribution and use in source and binary forms, with or without --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)ls.1 8.7 (Berkeley) 7/29/94 |
33.\" $FreeBSD: head/bin/ls/ls.1 140050 2005-01-11 08:51:21Z joerg $ | 33.\" $FreeBSD: head/bin/ls/ls.1 140353 2005-01-16 16:41:59Z ru $ |
34.\" 35.Dd January 11, 2005 36.Dt LS 1 37.Os 38.Sh NAME 39.Nm ls 40.Nd list directory contents 41.Sh SYNOPSIS --- 392 unchanged lines hidden (view full) --- 434.Pq Ql " " 435if it does not. 436The 437.Nm 438utility does not show the actual ACL; 439use 440.Xr getfacl 1 441to do this. | 34.\" 35.Dd January 11, 2005 36.Dt LS 1 37.Os 38.Sh NAME 39.Nm ls 40.Nd list directory contents 41.Sh SYNOPSIS --- 392 unchanged lines hidden (view full) --- 434.Pq Ql " " 435if it does not. 436The 437.Nm 438utility does not show the actual ACL; 439use 440.Xr getfacl 1 441to do this. |
442.Sh EXAMPLES 443The following is how to do an 444.Nm 445listing sorted by size (and shows why 446.Nm 447does not need a separate option for this): 448.Pp 449.Dl "ls -l | sort -n +4" 450.Pp 451Additionally, the 452.Fl r 453flag to 454.Xr sort 1 455may be used 456to get the results sorted from largest to smallest (a reverse sort). 457.Sh DIAGNOSTICS 458.Ex -std | |
459.Sh ENVIRONMENT 460The following environment variables affect the execution of 461.Nm : 462.Bl -tag -width ".Ev CLICOLOR_FORCE" 463.It Ev BLOCKSIZE 464If the environment variable 465.Ev BLOCKSIZE 466is set, the block counts --- 163 unchanged lines hidden (view full) --- 630.Ev CLICOLOR 631functionality depends on a terminal type with color capabilities. 632.It Ev TZ 633The timezone to use when displaying dates. 634See 635.Xr environ 7 636for more information. 637.El | 442.Sh ENVIRONMENT 443The following environment variables affect the execution of 444.Nm : 445.Bl -tag -width ".Ev CLICOLOR_FORCE" 446.It Ev BLOCKSIZE 447If the environment variable 448.Ev BLOCKSIZE 449is set, the block counts --- 163 unchanged lines hidden (view full) --- 613.Ev CLICOLOR 614functionality depends on a terminal type with color capabilities. 615.It Ev TZ 616The timezone to use when displaying dates. 617See 618.Xr environ 7 619for more information. 620.El |
621.Sh EXIT STATUS 622.Ex -std 623.Sh EXAMPLES 624The following is how to do an 625.Nm 626listing sorted by size (and shows why 627.Nm 628does not need a separate option for this): 629.Pp 630.Dl "ls -l | sort -n +4" 631.Pp 632Additionally, the 633.Fl r 634flag to 635.Xr sort 1 636may be used 637to get the results sorted from largest to smallest (a reverse sort). |
|
638.Sh COMPATIBILITY 639The group field is now automatically included in the long listing for 640files in order to be compatible with the 641.St -p1003.2 642specification. 643.Sh SEE ALSO 644.Xr chflags 1 , 645.Xr chmod 1 , --- 33 unchanged lines hidden --- | 638.Sh COMPATIBILITY 639The group field is now automatically included in the long listing for 640files in order to be compatible with the 641.St -p1003.2 642specification. 643.Sh SEE ALSO 644.Xr chflags 1 , 645.Xr chmod 1 , --- 33 unchanged lines hidden --- |