Update cheatsheets

This commit is contained in:
ivuorinen
2025-09-28 00:21:14 +00:00
parent b10686d1e9
commit 370df82bda
11 changed files with 150 additions and 8 deletions

View File

@@ -22,16 +22,16 @@ source: https://github.com/tldr-pages/tldr.git
- List all players:
`playerctl --list-all`
`playerctl {{[-l|--list-all]}}`
- Send a command to a specific player:
`playerctl --player {{player_name}} {{play-pause|next|previous|...}}`
`playerctl {{[-p|--player]}} {{player_name}} {{play-pause|next|previous|...}}`
- Send a command to all players:
`playerctl --all-players {{play-pause|next|previous|...}}`
`playerctl {{[-a|--all-players]}} {{play-pause|next|previous|...}}`
- Display metadata about the current track:
`playerctl metadata --format "{{Now playing: \{\{artist\}\} - \{\{album\}\} - \{\{title\}\}}}"`
`playerctl metadata {{[-f|--format]}} "{{Now playing: \{\{artist\}\} - \{\{album\}\} - \{\{title\}\}}}"`

View File

@@ -36,6 +36,6 @@ source: https://github.com/tldr-pages/tldr.git
`ss {{[-4t|--ipv4 --tcp]}} src {{192.168/16}}`
- Kill IPv4 or IPv6 Socket Connection with destination IP 192.168.1.17 and destination port 8080:
- Kill IPv4 or IPv6 Socket Connection with a specific destination IP and port:
`ss {{[-K|--kill]}} dst {{192.168.1.17}} dport = {{8080}}`
`ss {{[-K|--kill]}} dst {{ip_address}} dport = {{port}}`