Research V3 development
authorDennis Ritchie <dmr@research.uucp>
Thu, 8 Feb 1973 19:30:17 +0000 (14:30 -0500)
committerDennis Ritchie <dmr@research.uucp>
Thu, 8 Feb 1973 19:30:17 +0000 (14:30 -0500)
Work on file man/man1/login.1
Work on file man/man1/ls.1

Co-Authored-By: Ken Thompson <ken@research.uucp>
Synthesized-from: v3

man/man1/login.1 [new file with mode: 0644]
man/man1/ls.1 [new file with mode: 0644]

diff --git a/man/man1/login.1 b/man/man1/login.1
new file mode 100644 (file)
index 0000000..d979e08
--- /dev/null
@@ -0,0 +1,54 @@
+.pa 1
+.he 'LOGIN (I)'3/15/72'LOGIN (I)'
+.ti 0
+NAME           login  --  sign onto UNIX
+.sp
+.ti 0
+SYNOPSIS       login\b\b\b\b\b_____  [ username [ password ] ]
+.sp
+.ti 0
+DESCRIPTION    The login\b\b\b\b\b_____ command
+is used when a user initially
+signs onto UNIX, or it may be used at any time to change
+from one user to another.
+The latter case is the one summarized above and
+described here.
+See login\b\b\b\b\b_____ (VII) for how to dial up initially.
+
+If login\b\b\b\b\b_____ is invoked without an argument,
+it will ask for a user name, and, if
+appropriate, a password.
+Echoing is turned off (if possible) during the typing of the password,
+so it will not appear on the written record of the
+session.
+.sp
+After a successful login,
+accounting files are updated and
+the user is informed of the
+existence of mailbox
+and message-of-the-day files.
+
+Login is recognized by the Shell
+and executed directly (without forking).
+.sp
+.ti 0
+FILES          /tmp/utmp       accounting
+.br
+/tmp/wtmp      accounting
+.br
+mailbox                mail
+.br
+/etc/motd      message-of-the-day
+/etc/passwd    password file
+.sp
+.ti 0
+SEE ALSO       login(VII), init(VII), getty(VII), mail(I)
+.sp
+.ti 0
+DIAGNOSTICS    "login incorrect",
+if the name or the password is bad.
+"No Shell,", "cannot open password file," "no directory:"
+consult a UNIX programming councilor.
+.sp
+.ti 0
+BUGS           --
diff --git a/man/man1/ls.1 b/man/man1/ls.1
new file mode 100644 (file)
index 0000000..da3548d
--- /dev/null
@@ -0,0 +1,52 @@
+.pa 1
+.he 'LS (I)'3/15/72'LS (I)'
+.ti 0
+NAME           ls  --  list contents of directory
+.sp
+.ti 0
+SYNOPSIS       ls\b\b__ [ -\b_ltasd\b\b\b\b\b_____ ] name\d1\u ...
+.sp
+.ti 0
+DESCRIPTION    ls\b\b__
+lists the contents of one or more directories under
+control of several options:
+.sp
+.in +5
+.ti -3
+-l list in l\b_ong format, giving i-number, mode, owner,
+size in bytes, and time of last modification
+for each file.
+(see stat\b\b\b\b____ for format of the mode)
+
+.ti -3
+-t sort by time modified (latest first) instead of
+by name, as is normal
+
+.ti -3
+-a list all entries; usually those beginning with "." are
+suppressed
+
+.ti -3
+-s give size in blocks for each entry
+
+.ti -3
+-d if argument is a directory, list only its name, not
+its contents (mostly used with "-l" to get status
+on directory)
+.sp
+.in -5
+If no argument is given, "." is listed.
+If an argument is not a directory, its name is given.
+.sp
+.ti 0
+FILES          /etc/passwd to get user ID's for ls -l
+.sp
+.ti 0
+SEE ALSO       stat(I)
+.sp
+.ti 0
+DIAGNOSTICS    "name
+nonexistent"; "name unreadable"; "name unstatable."
+.sp
+.ti 0
+BUGS           --