1
0
Fork 0
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:
Inesgor 2021-07-25 00:42:04 +05:30 committed by GitHub
parent a9547d0184
commit 3c2ddfbccc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 21 additions and 1 deletions

View file

@ -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}}`

View file

@ -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`

View file

@ -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}}'`

View file

@ -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}}`