Manpage overhaul
This commit is contained in:
parent
1392fce27a
commit
7d47c075cc
10
chvt.1
10
chvt.1
@ -1,10 +1,8 @@
|
|||||||
.TH CHVT 1 ubase\-VERSION
|
.TH CHVT 1 ubase-VERSION
|
||||||
.SH NAME
|
.SH NAME
|
||||||
chvt \- change foreground virtual terminal
|
\fBchvt\fR - change foreground virtual terminal
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B chvt
|
\fBchvt\fI N
|
||||||
.I N
|
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.B chvt
|
\fBchvt\fR brings /dev/ttyN to the foreground. This has the
|
||||||
brings /dev/ttyN to the foreground. This has the
|
|
||||||
same effect as Ctrl-Alt-FN.
|
same effect as Ctrl-Alt-FN.
|
||||||
|
5
clear.1
5
clear.1
@ -1,4 +1,3 @@
|
|||||||
.TH CLEAR 1 ubase\-VERSION
|
.TH CLEAR 1 ubase-VERSION
|
||||||
.OS Linux
|
|
||||||
.SH NAME
|
.SH NAME
|
||||||
clear \- clear the screen
|
\fBclear\fR - clear the screen
|
||||||
|
22
df.1
22
df.1
@ -1,24 +1,18 @@
|
|||||||
.TH DF 1 ubase\-VERSION
|
.TH DF 1 ubase-VERSION
|
||||||
.OS Linux
|
|
||||||
.SH NAME
|
.SH NAME
|
||||||
df \- show file system usage
|
\fBdf\fR - show file system usage
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B df
|
\fBdf\fR [\fB-ahsi\fR]
|
||||||
.RB [ \-ahsi ]
|
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
df displays the amount of disk space available on a file system.
|
\fBdf\fR displays the amount of disk space available on a file system.
|
||||||
If no arguments are given, df shows all the file systems using 512-byte
|
If no arguments are given, df shows all the file systems using 512-byte
|
||||||
blocks.
|
blocks.
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.TP
|
||||||
.BI \-a
|
\fB-a\fR Show all file systems including dummy ones.
|
||||||
Show all file systems including dummy ones.
|
|
||||||
.TP
|
.TP
|
||||||
.BI \-h
|
\fB-h\fR Not implemented.
|
||||||
Not implemented.
|
|
||||||
.TP
|
.TP
|
||||||
.BI \-s
|
\fB-s\fR Not implemented.
|
||||||
Not implemented.
|
|
||||||
.TP
|
.TP
|
||||||
.BI \-i
|
\fB-i\fR Not implemented.
|
||||||
Not implemented.
|
|
||||||
|
13
eject.1
13
eject.1
@ -1,14 +1,11 @@
|
|||||||
.TH EJECT 1 ubase\-VERSION
|
.TH EJECT 1 ubase-VERSION
|
||||||
.OS Linux
|
|
||||||
.SH NAME
|
.SH NAME
|
||||||
eject \- eject removable media
|
\fBeject\fR - eject removable media
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B eject
|
\fBeject\fR [\fB-t\fR]
|
||||||
.RB [ \-t ]
|
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
eject allows the CD-ROM tray to be opened or closed under software
|
\fBeject\fR allows the CD-ROM tray to be opened or closed under software
|
||||||
control. If no arguments are given, the CD-ROM tray is opened.
|
control. If no arguments are given, the CD-ROM tray is opened.
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.TP
|
||||||
.BI \-t
|
\fB-t\fR If supported, close the CD-ROM tray.
|
||||||
If supported, close the CD-ROM tray.
|
|
||||||
|
18
halt.8
18
halt.8
@ -1,16 +1,14 @@
|
|||||||
.TH HALT 8 ubase\-VERSION
|
.TH HALT 8 ubase-VERSION
|
||||||
.OS Linux
|
|
||||||
.SH NAME
|
.SH NAME
|
||||||
halt \- Halt, power-off or reboot the machine
|
\fBhalt\fR - Halt, power-off or reboot the machine
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B halt
|
\fBhalt\fR [\fB-pr\fR]
|
||||||
.RB [ \-pr ]
|
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
halt can be used to halt, power-off or reboot the machine.
|
\fBhalt\fR can be used to power-off or reboot the machine.
|
||||||
|
This is a low-level tool and should not be used directly or data-loss
|
||||||
|
can happen if the filesystems are not properly unmounted first.
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.TP
|
||||||
.BI \-p
|
\fB-p\fR power-off the machine.
|
||||||
power-off the machine.
|
|
||||||
.TP
|
.TP
|
||||||
.BI \-r
|
\fB-r\fR reboot the machine.
|
||||||
reboot the machine.
|
|
||||||
|
16
id.1
16
id.1
@ -1,18 +1,14 @@
|
|||||||
.TH ID 1 ubase\-VERSION
|
.TH ID 1 ubase-VERSION
|
||||||
.SH NAME
|
.SH NAME
|
||||||
id \- print real and effective user and group IDs
|
\fBid\fR - print real and effective user and group IDs
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B id
|
\fBid\fR [\fB-G\fR] \fR[\fIuser\fR|\fIuid\fR]
|
||||||
.RB [ -G ]
|
|
||||||
.RB [ user | uid ]
|
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Print user and group information of the calling process to standard output.
|
\fBid\fR prints user and group information of the calling process to standard output.
|
||||||
If a login name or uid is specified, the user and group information of that
|
If a login name or uid is specified, the user and group information of that
|
||||||
user is displayed.
|
user is displayed.
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.TP
|
||||||
.B \-G
|
\fB-G\fR Display group information as whitespace separated numbers, in no particular order.
|
||||||
Display group information as whitespace separated numbers, in no particular
|
|
||||||
order.
|
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.IR who(1)
|
who(1)
|
||||||
|
7
lsmod.8
7
lsmod.8
@ -1,7 +1,6 @@
|
|||||||
.TH lsmod 8 ubase\-VERSION
|
.TH lsmod 8 ubase-VERSION
|
||||||
.OS Linux
|
|
||||||
.SH NAME
|
.SH NAME
|
||||||
lsmod \- list loaded kernel modules
|
\fBlsmod\fR - list loaded kernel modules
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
lsmod parses `/proc/modules' and shows the loadable kernel modules that are
|
\fBlsmod\fR parses `/proc/modules' and shows the loadable kernel modules that are
|
||||||
currently loaded.
|
currently loaded.
|
||||||
|
7
lsusb.8
7
lsusb.8
@ -1,7 +1,6 @@
|
|||||||
.TH LSUSB 8 ubase\-VERSION
|
.TH LSUSB 8 ubase-VERSION
|
||||||
.OS Linux
|
|
||||||
.SH NAME
|
.SH NAME
|
||||||
lsusb \- list USB devices
|
\fBlsusb\fR - list USB devices
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
lsusb searches in `/sys/bus/usb/devices' for usb buses and connected devices and prints
|
\fBlsusb\fR searches in `/sys/bus/usb/devices' for usb buses and connected devices and prints
|
||||||
them one by one.
|
them one by one.
|
||||||
|
39
mknod.1
39
mknod.1
@ -1,40 +1,23 @@
|
|||||||
.TH MKNOD 1 ubase\-VERSION
|
.TH MKNOD 1 ubase-VERSION
|
||||||
.SH NAME
|
.SH NAME
|
||||||
mknod \- create a special device file
|
\fBmknod\fR - create a special device file
|
||||||
|
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B mknod
|
\fBmknod\fR [\fB-m \fImode\fR] \fIname type major minor
|
||||||
.RB [ \-m
|
|
||||||
.IR mode ]
|
|
||||||
.I name
|
|
||||||
.I type
|
|
||||||
.I major
|
|
||||||
.I minor
|
|
||||||
|
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.B mknod
|
\fBmknod\fR reates a special device file named \fIname\fR
|
||||||
Creates a special device file named
|
with major number \fImajor\fR, and minor number \fIminor\fR.
|
||||||
.I name
|
\fItype\fR specifies what kind of special file will be created
|
||||||
with major number
|
|
||||||
.IR major ,
|
|
||||||
and minor number
|
|
||||||
.IR minor .
|
|
||||||
|
|
||||||
.IR type
|
|
||||||
specifies what kind of special file will be created,
|
|
||||||
and must be one of:
|
and must be one of:
|
||||||
.TP
|
.TP
|
||||||
.BR u \ or\ c
|
\fBu\fR or \fBc\fR
|
||||||
A character device.
|
A character device.
|
||||||
.TP
|
.TP
|
||||||
.BR b
|
\fBb\fR
|
||||||
A block device.
|
A block device.
|
||||||
|
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.TP
|
||||||
.B \-m "mode"
|
\fB-m\fR \fImode\fR
|
||||||
Set the mode of the new file based on the octal value of
|
Set the mode of the new file based on the octal value of
|
||||||
.IR mode .
|
\fImode\fR.
|
||||||
|
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.IR mknod (2)
|
mknod (2)
|
||||||
|
16
stat.1
16
stat.1
@ -1,17 +1,13 @@
|
|||||||
.TH STAT 1 ubase\-VERSION
|
.TH STAT 1 ubase-VERSION
|
||||||
.SH NAME
|
.SH NAME
|
||||||
stat \- display file status
|
\fBstat\fR - display file status
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B stat
|
\fBstat\fR [\fB-L\fR] [\fIfile...\fR]
|
||||||
.RB [ \-L ]
|
|
||||||
.RI [ file ...]
|
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.B stat
|
\fBstat\fR displays information about the given files or stdin if no files
|
||||||
displays information about the given files or stdin if no files
|
|
||||||
are specified.
|
are specified.
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.TP
|
||||||
.B \-L
|
\fB-L\fR follow links
|
||||||
follow links
|
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.IR stat (2)
|
stat (2)
|
||||||
|
25
who.1
25
who.1
@ -1,27 +1,18 @@
|
|||||||
.TH WHO 1 ubase\-VERSION
|
.TH WHO 1 ubase-VERSION
|
||||||
.SH NAME
|
.SH NAME
|
||||||
who \- print who has logged on
|
\fBwho\fR - print who has logged on
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B who
|
\fBwho\fR [\fB-m\fR]
|
||||||
.RB [ -m ]
|
|
||||||
|
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.B who
|
\fBwho\fR prints a list of who has logged on, their controlling tty, and the
|
||||||
prints a list of who has logged on, their controlling tty, and the
|
|
||||||
time at which they logged on.
|
time at which they logged on.
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.TP
|
||||||
.B \-m
|
\fB-m\fR only show users on current tty
|
||||||
only show users on current tty
|
|
||||||
.TP
|
.TP
|
||||||
.B \-l
|
\fB-l\fR also print LOGIN processes
|
||||||
also print LOGIN processes
|
|
||||||
|
|
||||||
.SH BUGS
|
.SH BUGS
|
||||||
.B who
|
\fBwho\fR relies on the utmp file to be updated responsibly. This
|
||||||
relies on the utmp file to be updated responsibly. This
|
|
||||||
doesn't always happen, which can cause who to print completely
|
doesn't always happen, which can cause who to print completely
|
||||||
bogus data.
|
bogus data.
|
||||||
|
utmp(5)
|
||||||
.SH SEE ALSO
|
|
||||||
.IR utmp (5)
|
|
||||||
|
Loading…
Reference in New Issue
Block a user