mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-18 11:49:52 +00:00
Update cheatsheets
This commit is contained in:
@@ -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\}\}}}"`
|
||||
|
||||
@@ -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}}`
|
||||
|
||||
Reference in New Issue
Block a user