Deleted Added
full compact
ls.1 (46684) ls.1 (49373)
1.\" Copyright (c) 1980, 1990, 1991, 1993, 1994
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" the Institute of Electrical and Electronics Engineers, Inc.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions

--- 19 unchanged lines hidden (view full) ---

28.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33.\" SUCH DAMAGE.
34.\"
35.\" @(#)ls.1 8.7 (Berkeley) 7/29/94
1.\" Copyright (c) 1980, 1990, 1991, 1993, 1994
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" the Institute of Electrical and Electronics Engineers, Inc.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions

--- 19 unchanged lines hidden (view full) ---

28.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33.\" SUCH DAMAGE.
34.\"
35.\" @(#)ls.1 8.7 (Berkeley) 7/29/94
36.\" $Id: ls.1,v 1.27 1999/04/27 23:33:52 hoek Exp $
36.\" $Id: ls.1,v 1.28 1999/05/08 10:20:27 kris Exp $
37.\"
38.Dd July 29, 1994
39.Dt LS 1
40.Os
41.Sh NAME
42.Nm ls
43.Nd list directory contents
44.Sh SYNOPSIS

--- 98 unchanged lines hidden (view full) ---

143If the
144.Fl s
145option is specified, print the file size allocation in kilobytes,
146not blocks. This option overrides the environment variable BLOCKSIZE.
147.It Fl l
148(The lowercase letter ``ell.'') List in long format. (See below.)
149If the output is to a terminal, a total sum for all the file
150sizes is output on a line before the long listing.
37.\"
38.Dd July 29, 1994
39.Dt LS 1
40.Os
41.Sh NAME
42.Nm ls
43.Nd list directory contents
44.Sh SYNOPSIS

--- 98 unchanged lines hidden (view full) ---

143If the
144.Fl s
145option is specified, print the file size allocation in kilobytes,
146not blocks. This option overrides the environment variable BLOCKSIZE.
147.It Fl l
148(The lowercase letter ``ell.'') List in long format. (See below.)
149If the output is to a terminal, a total sum for all the file
150sizes is output on a line before the long listing.
151.It Fl n
152Display user and group IDs numerically rather than converting to a user
153or group name in a long
154.Pq Fl l
155output.
151.It Fl o
152Include the file flags in a long
153.Pq Fl l
154output.
155.It Fl q
156Force printing of non-graphic characters in file names as
157the character `?'; this is the default when output is to a terminal.
158.It Fl r

--- 83 unchanged lines hidden (view full) ---

242number of 512-byte blocks used by the files in the directory is displayed
243on a line by itself immediately before the information for the files in the
244directory.
245.Pp
246If the modification time of the file is more than 6 months
247in the past or future, then the year of the last modification
248is displayed in place of the hour and minute fields.
249.Pp
156.It Fl o
157Include the file flags in a long
158.Pq Fl l
159output.
160.It Fl q
161Force printing of non-graphic characters in file names as
162the character `?'; this is the default when output is to a terminal.
163.It Fl r

--- 83 unchanged lines hidden (view full) ---

247number of 512-byte blocks used by the files in the directory is displayed
248on a line by itself immediately before the information for the files in the
249directory.
250.Pp
251If the modification time of the file is more than 6 months
252in the past or future, then the year of the last modification
253is displayed in place of the hour and minute fields.
254.Pp
250If the owner or group names are not a known user or group name
255If the owner or group names are not a known user or group name,
256or the
257.Fl n
258option is given,
251the numeric ID's are displayed.
252.Pp
253If the file is a character special or block special file,
254the major and minor device numbers for the file are displayed
255in the size field. If the file is a symbolic link the pathname of the
256linked-to file is preceded by
257.Dq \-> .
258.Pp

--- 150 unchanged lines hidden ---
259the numeric ID's are displayed.
260.Pp
261If the file is a character special or block special file,
262the major and minor device numbers for the file are displayed
263in the size field. If the file is a symbolic link the pathname of the
264linked-to file is preceded by
265.Dq \-> .
266.Pp

--- 150 unchanged lines hidden ---