mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-18 06:49:49 +00:00
Update cheatsheets
This commit is contained in:
17
tldr/linux/drm_info
Normal file
17
tldr/linux/drm_info
Normal 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
17
tldr/linux/fbgrab
Normal 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`
|
||||
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user