mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:47:35 +00:00
Base: Add more manpages for command-line utilities
This commit is contained in:
parent
5d8585df97
commit
57340dda36
25 changed files with 749 additions and 0 deletions
19
Base/usr/share/man/man8/dmesg.md
Normal file
19
Base/usr/share/man/man8/dmesg.md
Normal file
|
@ -0,0 +1,19 @@
|
|||
## Name
|
||||
|
||||
dmesg - display the kernel log
|
||||
|
||||
## Synopsis
|
||||
|
||||
```**sh
|
||||
# dmesg
|
||||
```
|
||||
|
||||
## Description
|
||||
|
||||
`dmesg` displays the kernel log (as seen on serial debug output). Only messages printed by kernel processes are displayed.
|
||||
|
||||
## Examples
|
||||
|
||||
```sh
|
||||
$ dmesg
|
||||
```
|
28
Base/usr/share/man/man8/hostname.md
Normal file
28
Base/usr/share/man/man8/hostname.md
Normal file
|
@ -0,0 +1,28 @@
|
|||
## Name
|
||||
|
||||
hostname - print or set hostname
|
||||
|
||||
## Synopsis
|
||||
|
||||
```**sh
|
||||
$ hostname [hostname]
|
||||
```
|
||||
|
||||
## Description
|
||||
|
||||
`hostname` prints current host name. If the `hostname` argument is give and the user is a superuser, the utility sets the current host name to its value. The maximum hostname length is 64 characters. The hostname is not persisted after reboot.
|
||||
|
||||
## Examples
|
||||
|
||||
```sh
|
||||
# Print current hostname
|
||||
$ hostname
|
||||
courage
|
||||
|
||||
# Set the new hostname
|
||||
# hostname foo
|
||||
|
||||
# Print new hostname
|
||||
# hostname
|
||||
foo
|
||||
```
|
26
Base/usr/share/man/man8/umount.md
Normal file
26
Base/usr/share/man/man8/umount.md
Normal file
|
@ -0,0 +1,26 @@
|
|||
## Name
|
||||
|
||||
umount - unmount file system
|
||||
|
||||
## Synopsis
|
||||
|
||||
```**sh
|
||||
$ umount <mountpoint>
|
||||
```
|
||||
|
||||
## Arguments
|
||||
* `mountpoint`: File system path to unmount
|
||||
|
||||
## Description
|
||||
|
||||
`umount` run as root unmounts a file system mounted at specified `mountpoint`.
|
||||
|
||||
## Examples
|
||||
|
||||
```sh
|
||||
# umount /
|
||||
```
|
||||
|
||||
## See also
|
||||
|
||||
* [`mount`(8)](../man8/mount.md)
|
Loading…
Add table
Add a link
Reference in a new issue