mirror of
https://github.com/DoctorWkt/pdp7-unix.git
synced 2026-04-28 04:54:51 +00:00
update ln, ls, stat man pages for original commands. add link man page.
This commit is contained in:
36
man/link.1
Normal file
36
man/link.1
Normal file
@@ -0,0 +1,36 @@
|
||||
.oh '11/3/70''LINK(I)'
|
||||
.ta 18 30
|
||||
NAME link -- link to a file
|
||||
.sp
|
||||
.in 0
|
||||
SYNOPSIS
|
||||
.in 8
|
||||
.ul
|
||||
link
|
||||
file
|
||||
.sp
|
||||
.ul
|
||||
link
|
||||
srcdir file
|
||||
.sp
|
||||
.ul
|
||||
link
|
||||
srcdir file name
|
||||
.sp
|
||||
.in 0
|
||||
DESCRIPTION
|
||||
.in 8
|
||||
With one argument makes a link to file in system directory.
|
||||
.sp
|
||||
With two arguments, makes a link to file in srcdir.
|
||||
.sp
|
||||
With three arguments, make name a link to file in srcdir.
|
||||
.sp
|
||||
.in 0
|
||||
FILES --
|
||||
.sp
|
||||
SEE ALSO ln
|
||||
.sp
|
||||
BUGS --
|
||||
.sp
|
||||
OWNER ken, dmr
|
||||
8
man/ln.1
8
man/ln.1
@@ -5,17 +5,17 @@ NAME ln -- link to a file
|
||||
SYNOPSIS
|
||||
.ul
|
||||
ln
|
||||
name1 name2
|
||||
srcdir file ..
|
||||
.sp
|
||||
DESCRIPTION ln adds another filename to the first filename
|
||||
DESCRIPTION make links in current dir to named files in srcdir
|
||||
.sp
|
||||
FILES --
|
||||
.sp
|
||||
SEE ALSO --
|
||||
SEE ALSO link
|
||||
.sp
|
||||
DIAGNOSTICS "twofiles" - please provide two filenames
|
||||
"? file" - unable to make the link
|
||||
.sp
|
||||
BUGS --
|
||||
.sp
|
||||
OWNER wkt
|
||||
OWNER ken, dmr
|
||||
|
||||
25
man/ls.1
25
man/ls.1
@@ -2,21 +2,19 @@
|
||||
.ta 18 21 24
|
||||
NAME ls -- list contents of directory
|
||||
.sp
|
||||
SYNOPSIS ls [ -l ] directory
|
||||
SYNOPSIS ls [directory]
|
||||
.sp
|
||||
DESCRIPTION
|
||||
.ul
|
||||
ls
|
||||
lists the contents of the named directory
|
||||
under control of one option:
|
||||
lists the contents of the current,
|
||||
or named directory.
|
||||
.sp
|
||||
l list in long format, giving i-number,
|
||||
mode, owner, size in words, and name of
|
||||
each file. (see
|
||||
.ul
|
||||
list
|
||||
lists details in the format of
|
||||
.ul
|
||||
stat
|
||||
for format of the
|
||||
mode). Numeric values are in octal.
|
||||
.sp
|
||||
FILES --
|
||||
.sp
|
||||
@@ -29,16 +27,13 @@ BUGS In a simulated environment, a filename larger
|
||||
than eight characters will cause
|
||||
.ul
|
||||
ls
|
||||
to exit
|
||||
prematurely.
|
||||
to exit prematurely.
|
||||
.sp
|
||||
|
||||
.ul
|
||||
ls
|
||||
will try to open up a directory named "." if
|
||||
no directory is named. If the user desires this
|
||||
functionality, they need to link "." to the
|
||||
directory in question.
|
||||
will try to open up a directory named ".." if
|
||||
no directory is named.
|
||||
|
||||
.sp
|
||||
OWNER wkt
|
||||
OWNER ken, dmr
|
||||
|
||||
62
man/stat.1
62
man/stat.1
@@ -10,52 +10,44 @@ name
|
||||
DESCRIPTION
|
||||
.ul
|
||||
stat
|
||||
gives several kinds of information about
|
||||
one file:
|
||||
gives several kinds of information about one file.
|
||||
.sp
|
||||
access mode
|
||||
number of links
|
||||
owner
|
||||
size in words
|
||||
name
|
||||
.nf
|
||||
i-number
|
||||
flags
|
||||
owner
|
||||
links
|
||||
size
|
||||
.sp
|
||||
All information is self-explanatory except the
|
||||
mode. The mode is a five-character string whose
|
||||
characters mean the following:
|
||||
flag bits are:
|
||||
.nf
|
||||
.in 8
|
||||
40 special file
|
||||
20 directory
|
||||
10 read, owner
|
||||
04 write, owner
|
||||
02 read, non-owner
|
||||
01 write, non-owner
|
||||
.in 8
|
||||
.sp
|
||||
1 s: file is small (smaller than 448 words)
|
||||
l: file is large
|
||||
d: file is a directory
|
||||
.sp
|
||||
2 r: owner can read
|
||||
-: owner cannot read
|
||||
.sp
|
||||
3 w: owner can write
|
||||
-: owner cannot write
|
||||
.sp
|
||||
4 r: non-owner can read
|
||||
-: non-owner cannot read
|
||||
.sp
|
||||
5 w: non-owner can write
|
||||
-: non-owner cannot write
|
||||
.sp
|
||||
All numeric values are printed in octal.
|
||||
All values are printed in octal.
|
||||
.in 0
|
||||
.sp
|
||||
FILES --
|
||||
.sp
|
||||
SEE ALSO
|
||||
SEE ALSO
|
||||
.in 8
|
||||
.ul
|
||||
ls
|
||||
with the -l option gives the same information
|
||||
as
|
||||
list
|
||||
shows all files in a directory in the same format as
|
||||
.ul
|
||||
stat,
|
||||
except that it also shows the i-node
|
||||
number for each file.
|
||||
stat.
|
||||
.in 0
|
||||
.sp
|
||||
DIAGNOSTICS "name ?" for any error. "nofiles" if no file
|
||||
name is given.
|
||||
.sp
|
||||
BUGS none
|
||||
.sp
|
||||
OWNER wkt
|
||||
OWNER ken, dmr
|
||||
|
||||
|
||||
Reference in New Issue
Block a user