mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-09 15:46:33 +00:00
Update cheatsheets
This commit is contained in:
@@ -6,15 +6,15 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# clementine
|
||||
|
||||
> A modern music player and library organizer.
|
||||
> More information: <https://www.clementine-player.org>.
|
||||
> More information: <https://github.com/clementine-player/Clementine/wiki>.
|
||||
|
||||
- Open Clementine:
|
||||
- Start the GUI or bring it to front:
|
||||
|
||||
`clementine`
|
||||
|
||||
- Start playing a music file:
|
||||
- Start playing music:
|
||||
|
||||
`clementine {{url/or/path/to/file.ext}}`
|
||||
`clementine {{url|path/to/music.ext}}`
|
||||
|
||||
- Toggle between pausing and playing:
|
||||
|
||||
@@ -24,18 +24,18 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`clementine --stop`
|
||||
|
||||
- Skip to the next track:
|
||||
- Skip to the next or previous track:
|
||||
|
||||
`clementine --next`
|
||||
`clementine --{{next|previous}}`
|
||||
|
||||
- Skip to the previous track:
|
||||
- Create a new playlist with one or more music files or URLs:
|
||||
|
||||
`clementine --previous`
|
||||
`clementine --create {{url1 url2 ... | path/to/music1.ext path/to/music2.ext ...}}`
|
||||
|
||||
- Load a playlist file:
|
||||
|
||||
`clementine --load {{path/to/playlist.ext}}`
|
||||
|
||||
- Play the 5th track in the currently loaded playlist:
|
||||
- Play a specific track in the currently loaded playlist:
|
||||
|
||||
`clementine --play-track {{5}}`
|
||||
|
||||
@@ -21,7 +21,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`tail -c {{8}} {{path/to/file}}`
|
||||
|
||||
- Print the last lines of a given file and keep reading file until `Ctrl + C`:
|
||||
- Print the last lines of a given file and keep reading it until `Ctrl + C`:
|
||||
|
||||
`tail -f {{path/to/file}}`
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# searchsploit
|
||||
|
||||
> Searchsploit searches exploit database's database for exploits, shellcodes and/or papers.
|
||||
> Search Exploit Database for exploits, shellcodes and/or papers.
|
||||
> If known version numbers are used as search terms, exploits for both the exact version and others whose version range covers the one specified are shown.
|
||||
> More information: <https://www.exploit-db.com/searchsploit>.
|
||||
|
||||
@@ -21,14 +21,22 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`searchsploit --www {{search_terms}}`
|
||||
|
||||
- Make a copy of the resource to the current directory (requires the number of the exploit):
|
||||
- Copy ([m]irror) the resource to the current directory (requires the number of the exploit):
|
||||
|
||||
`searchsploit --mirror {{exploit_number}}`
|
||||
|
||||
- Open the resource to read with the pager defined in the `$PAGER` environment variable:
|
||||
- E[x]amine the resource, using the pager defined in the `$PAGER` environment variable:
|
||||
|
||||
`searchsploit --explore {{exploit_number}}`
|
||||
`searchsploit --examine {{exploit_number}}`
|
||||
|
||||
- Update the local exploit database:
|
||||
- [u]pdate the local Exploit Database:
|
||||
|
||||
`searchsploit --update`
|
||||
|
||||
- Search for the [c]ommon [v]ulnerabilities and [e]xposures (CVE) value:
|
||||
|
||||
`searchsploit --cve {{2021-44228}}`
|
||||
|
||||
- Check results in `nmap`'s XML output with service version (`nmap -sV -oX nmap-output.xml`) for known exploits:
|
||||
|
||||
`searchsploit --nmap {{path/to/nmap-output.xml}}`
|
||||
|
||||
@@ -21,7 +21,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`tail --bytes {{count}} {{path/to/file}}`
|
||||
|
||||
- Print the last lines of a given file and keep reading file until `Ctrl + C`:
|
||||
- Print the last lines of a given file and keep reading it until `Ctrl + C`:
|
||||
|
||||
`tail --follow {{path/to/file}}`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user