mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-21 04:02:03 +00:00
Update cheatsheets
This commit is contained in:
17
tldr/linux/spa-json-dump
Normal file
17
tldr/linux/spa-json-dump
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# spa-json-dump
|
||||
|
||||
> Convert a SPA JSON file to standard JSON.
|
||||
> More information: <https://docs.pipewire.org/page_man_spa-json-dump_1.html>.
|
||||
|
||||
- Convert a SPA JSON file to standard JSON:
|
||||
|
||||
`spa-json-dump {{path/to/file.conf}}`
|
||||
|
||||
- Convert SPA JSON from `stdin` to standard JSON:
|
||||
|
||||
`echo "{{spa_json_string}}" | spa-json-dump`
|
||||
@@ -10,8 +10,8 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Update the operating system:
|
||||
|
||||
`steamos-update`
|
||||
`sudo steamos-update`
|
||||
|
||||
- Check if there is an update available:
|
||||
|
||||
`steamos-update check`
|
||||
`sudo steamos-update check`
|
||||
|
||||
@@ -35,7 +35,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- List all service/socket/automount units filtering by running/failed state:
|
||||
|
||||
`systemctl list-units {{[-t|--type]}} {{service|socket|automount}} --state {{failed|running}}`
|
||||
`systemctl list-units {{[-t|--type]}} {{service|socket|automount|...}} --state {{failed|running}}`
|
||||
|
||||
- Show the contents & absolute path of a unit file or edit it:
|
||||
|
||||
|
||||
@@ -36,3 +36,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
- List bookmarks:
|
||||
|
||||
`<:>blist<Enter>`
|
||||
|
||||
- Follow links:
|
||||
|
||||
`<f>{{link_number}}<Enter>`
|
||||
|
||||
Reference in New Issue
Block a user