mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
ping, automount, rig, needrestart: Use mnemonics and put options fully inside placeholders (#22879)
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
|
||||
`ping -O {{host}}`
|
||||
|
||||
- Ping a host with specific number of pings, per-packet response timeout (`-W`), and total time limit (`-w`) of the entire ping run:
|
||||
- Ping a host with specific [c]ount of pings, per-packet time to [W]ait for a response, and total [w]ait time limit of the entire ping run:
|
||||
|
||||
`ping -c {{count}} -W {{seconds}} -w {{seconds}} {{host}}`
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
- List outdated processes in [v]erbose or [q]uiet mode:
|
||||
|
||||
`needrestart -{{v|q}}`
|
||||
`needrestart {{-v|-q}}`
|
||||
|
||||
- Check if the [k]ernel is outdated:
|
||||
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@
|
||||
|
||||
- Display a [m]ale (or [f]emale) random name and address:
|
||||
|
||||
`rig -{{m|f}}`
|
||||
`rig {{-m|-f}}`
|
||||
|
||||
- Use [d]ata files from a specific directory (default is `/usr/share/rig`):
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
> Note: You'll most likely need to run with `sudo` if you don't have the necessary permissions.
|
||||
> More information: <https://keith.github.io/xcode-man-pages/automount.8.html>.
|
||||
|
||||
- Run automount, flush the cache(`-c`) beforehand, and be verbose(`-v`) about it (most common use):
|
||||
- Run automount, flush the [c]ache beforehand, and be [v]erbose about it (most common use):
|
||||
|
||||
`automount -cv`
|
||||
|
||||
@@ -12,6 +12,6 @@
|
||||
|
||||
`automount -t 300`
|
||||
|
||||
- Unmount anything previously mounted by automount and/or defined in `/etc/auto_master`:
|
||||
- [u]nmount anything previously mounted by automount and/or defined in `/etc/auto_master`:
|
||||
|
||||
`automount -u`
|
||||
|
||||
Reference in New Issue
Block a user