summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2023-05-07 08:15:27 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2023-05-07 08:22:31 +0200
commit838d8d6556dc6eecc1999bc482d3631b869b1630 (patch)
tree1e750851aac93c6a339665398331bb1314f44f6a
parent6a1ebbc3b12b38ac221ec135287a519f84f15178 (diff)
downloadabase-838d8d6556dc6eecc1999bc482d3631b869b1630.tar.gz
abase-838d8d6556dc6eecc1999bc482d3631b869b1630.tar.bz2
updated man pages
-rw-r--r--hexdump.19
-rw-r--r--ifconfig.116
-rw-r--r--more.14
-rw-r--r--ping.18
4 files changed, 27 insertions, 10 deletions
diff --git a/hexdump.1 b/hexdump.1
index 247064d..a6ddd5e 100644
--- a/hexdump.1
+++ b/hexdump.1
@@ -6,22 +6,23 @@
.Nd display file contents in hex and/or ASCII
.Sh SYNOPSIS
.Nm
+[-Cv] {file}
.Sh DESCRIPTION
.Nm
prints hexadecimal dump of
-.Ar path
+.Ar file
to stdout.
-.Nm
.Sh OPTIONS
.sp
.RE
\fB\-C\fP
.RS 4
Canonical hex+ASCII format. 16 bytes per line, print hex code area on
-the left and printable characters on the right.
+the left and printable characters on the right (this is the default).
.RE
.sp
\fB\-v\fP
.RS 4
-Display all data, no squezing of consecutive identical lines of bytes.
+Display all data, no squezing of consecutive identical lines of bytes
+(this is the default).
diff --git a/ifconfig.1 b/ifconfig.1
index 9468f98..7f896a0 100644
--- a/ifconfig.1
+++ b/ifconfig.1
@@ -6,13 +6,27 @@
.Nd inspect and manipulate network settings
.Sh SYNOPSIS
.Nm
+[-a] [interface] [options]
+.Nm
+interface link [up|down]
.Sh DESCRIPTION
.Nm
.Sh OPTIONS
.sp
.RE
-\fB\-a\fP
+\fB-a\fP
.RS 4
Show all network interfaces and configurations
.RE
+.sp
+\fBinterface\fP
+.RS 4
+The name of the interface, for instance \fBeth0\fP.
+.RE
+.sp
+\fBdown|up\fP
+.RS 4
+Set the interfacde \fBup\fP or \fBdown\fP.
+.RE
+
diff --git a/more.1 b/more.1
index f2c3450..b85bec6 100644
--- a/more.1
+++ b/more.1
@@ -6,12 +6,12 @@
.Nd text pager
.Sh SYNOPSIS
.Nm
+{file}
.Sh DESCRIPTION
.Nm
pages text file
-.Ar path
+.Ar file
to stdout, provides navigation key shortcuts.
-.Nm
.Sh COMMANDS
.sp
.RE
diff --git a/ping.1 b/ping.1
index c892f6f..d36ce5b 100644
--- a/ping.1
+++ b/ping.1
@@ -1,4 +1,4 @@
-.Dd 2023-04-24
+.Dd 2023-05-07
.Dt PING 1
.Os abase
.Sh NAME
@@ -6,7 +6,9 @@
.Nd tests reachability of a host on the network
.Sh SYNOPSIS
.Nm
+{destination}
.Sh DESCRIPTION
.Nm
-.Sh OPTIONS
-.sp
+ping sends an ICMP ECHO_REQUEST to a host and waits for the answer by
+the host. It prints each second information (if the host is reachable)
+and terminates and prints statistics if the user pressed Ctrl-C.