diff options
Diffstat (limited to 'bin/ls')
-rw-r--r-- | bin/ls/ls.1 | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/bin/ls/ls.1 b/bin/ls/ls.1 index 7e7a5c4e472..f96217c0c2d 100644 --- a/bin/ls/ls.1 +++ b/bin/ls/ls.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ls.1,v 1.27 2000/07/23 06:16:42 ericj Exp $ +.\" $OpenBSD: ls.1,v 1.28 2000/10/18 06:55:08 aaron Exp $ .\" $NetBSD: ls.1,v 1.14 1995/12/05 02:44:01 jtc Exp $ .\" .\" Copyright (c) 1980, 1990, 1991, 1993, 1994 @@ -393,6 +393,24 @@ system immutable The .Nm utility exits 0 on success or >0 if an error occurred. +.Sh EXAMPLES +.Cm ls -l +.Pp +List the contents of the current working directory in long format. +.Pp +.Cm ls -lioF +.Pp +In addition to listing the contents of the current working directory in +long format, show inode numbers, file flags (see +.Xr chflags 1 ) , +and suffix each filename with a symbol representing its file type. +.Pp +.Cm ls -lt /var/log +.Pp +List the files in +.Pa /var/log , +sorting the output such that the mostly recently modified entries are +printed first. .Sh ENVIRONMENT The following environment variables affect the execution of .Nm ls : |