Update cheatsheets

This commit is contained in:
ivuorinen
2026-02-04 00:25:13 +00:00
parent a25672619b
commit b35cae5346
7 changed files with 135 additions and 7 deletions

17
tldr/linux/drm_info Normal file
View File

@@ -0,0 +1,17 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# drm_info
> Dump information about DRM devices.
> More information: <https://manned.org/drm_info>.
- Dump DRM information:
`drm_info`
- Dump DRM information in [j]SON format:
`drm_info -j`

17
tldr/linux/fbgrab Normal file
View File

@@ -0,0 +1,17 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# fbgrab
> Generate screenshots directly from the framebuffer.
> More information: <https://github.com/GunnarMonell/fbgrab#fbgrab>.
- Generate a screenshot from the current TTY:
`sudo fbgrab {{path/to/file}}.png`
- Specify which TTY to capture:
`sudo fbgrab -c {{number}} {{path/to/file}}.png`

View File

@@ -10,7 +10,7 @@ source: https://github.com/tldr-pages/tldr.git
- Show all TCP/UDP/RAW/UNIX sockets:
`ss {{[-a|--all]}} {{-t|-u|-w|-x}}`
`ss {{[-a|--all]}} {{--tcp|--udp|--raw|--unix}}`
- Filter TCP sockets by states, only/exclude: