mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
fc-pattern, sv, tomb, xkill: add examples (#6121)
This commit is contained in:
parent
a9547d0184
commit
3c2ddfbccc
4 changed files with 21 additions and 1 deletions
|
@ -14,3 +14,11 @@
|
|||
- Get service status:
|
||||
|
||||
`sudo sv status {{path/to/service}}`
|
||||
|
||||
- Reload a service:
|
||||
|
||||
`sudo sv reload {{path/to/service}}`
|
||||
|
||||
- Start a service, but only if it's not running and don't restart it if it stops:
|
||||
|
||||
`sudo sv once {{path/to/service}}`
|
||||
|
|
|
@ -6,3 +6,7 @@
|
|||
- Display a cursor to kill a window when pressing the left mouse button (press any other mouse button to cancel):
|
||||
|
||||
`xkill`
|
||||
|
||||
- Display a cursor to select a window to kill by pressing any mouse button:
|
||||
|
||||
`xkill -button any`
|
||||
|
|
|
@ -5,4 +5,8 @@
|
|||
|
||||
- Display default information about a font:
|
||||
|
||||
`fc-pattern -d '{{DejaVu Serif}}'`
|
||||
`fc-pattern --default '{{DejaVu Serif}}'`
|
||||
|
||||
- Display config information about a font:
|
||||
|
||||
`fc-pattern --config '{{DejaVu Serif}}'`
|
||||
|
|
|
@ -11,6 +11,10 @@
|
|||
|
||||
`tomb forge {{encrypted_directory.tomb.key}}`
|
||||
|
||||
- Forcefully create a new key, even if the tomb isn't allowing key forging (due to swap):
|
||||
|
||||
`tomb forge {{encrypted_directory.tomb.key}} -f`
|
||||
|
||||
- Initialize and lock an empty tomb using a key made with `forge`:
|
||||
|
||||
`tomb lock {{encrypted_directory.tomb}} -k {{encrypted_directory.tomb.key}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue