ls.1 (35373) | ls.1 (35417) |
---|---|
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.16 1997/12/25 09:36:39 hoek Exp $ | 36.\" $Id: ls.1,v 1.17 1998/04/21 22:01:58 des 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 45.Nm ls | 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 45.Nm ls |
46.Op Fl ACFLRTWabcdfgikloqrstu1 | 46.Op Fl ?ABCFLRTWabcdfgikloqrstu1 |
47.Op Ar file ... 48.Sh DESCRIPTION 49For each operand that names a 50.Ar file 51of a type other than 52directory, 53.Nm ls 54displays its name as well as any requested, --- 10 unchanged lines hidden (view full) --- 65directory are displayed. 66If more than one operand is given, 67non-directory operands are displayed first; directory 68and non-directory operands are sorted separately and in 69lexicographical order. 70.Pp 71The following options are available: 72.Bl -tag -width indent | 47.Op Ar file ... 48.Sh DESCRIPTION 49For each operand that names a 50.Ar file 51of a type other than 52directory, 53.Nm ls 54displays its name as well as any requested, --- 10 unchanged lines hidden (view full) --- 65directory are displayed. 66If more than one operand is given, 67non-directory operands are displayed first; directory 68and non-directory operands are sorted separately and in 69lexicographical order. 70.Pp 71The following options are available: 72.Bl -tag -width indent |
73.It Fl ? 74Displays a short list of valid options. |
|
73.It Fl A 74List all entries except for 75.Ql \&. 76and 77.Ql \&.. . 78Always set for the super-user. | 75.It Fl A 76List all entries except for 77.Ql \&. 78and 79.Ql \&.. . 80Always set for the super-user. |
81.It Fl B 82Force printing of non-graphic characters in file names as \\xxx, 83where xxx is the numeric value of the character in octal. |
|
79.It Fl C 80Force multi-column output; this is the default when output is to a terminal. 81.It Fl F 82Display a slash (/) immediately after each pathname 83that is a directory, an asterisk (*) after each that is 84executable, 85an at sign (@) after each symbolic link, 86an equals sign (=) after each socket, --- 9 unchanged lines hidden (view full) --- 96Display complete time information for the file, including 97month, day, hour, minute, second, and year. 98.It Fl W 99Display whiteouts when scanning directories. 100.It Fl a 101Include directory entries whose names begin with a 102dot (.). 103.It Fl b | 84.It Fl C 85Force multi-column output; this is the default when output is to a terminal. 86.It Fl F 87Display a slash (/) immediately after each pathname 88that is a directory, an asterisk (*) after each that is 89executable, 90an at sign (@) after each symbolic link, 91an equals sign (=) after each socket, --- 9 unchanged lines hidden (view full) --- 101Display complete time information for the file, including 102month, day, hour, minute, second, and year. 103.It Fl W 104Display whiteouts when scanning directories. 105.It Fl a 106Include directory entries whose names begin with a 107dot (.). 108.It Fl b |
104Force printing of non-graphic characters in file names as \\xxx, 105where xxx is the numeric value of the character in octal. | 109As 110.Fl B , 111but use C escape codes whenever possible. |
106.It Fl c 107Use time when file status was last changed for sorting or printing. 108.It Fl d 109Directories are listed as plain files (not searched recursively) and 110symbolic links in the argument list are not indirected through. 111.It Fl f 112Output is not sorted. 113.It Fl g --- 246 unchanged lines hidden --- | 112.It Fl c 113Use time when file status was last changed for sorting or printing. 114.It Fl d 115Directories are listed as plain files (not searched recursively) and 116symbolic links in the argument list are not indirected through. 117.It Fl f 118Output is not sorted. 119.It Fl g --- 246 unchanged lines hidden --- |