mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-14 12:48:33 +00:00
Update cheatsheets
This commit is contained in:
20
tldr/gt
20
tldr/gt
@@ -6,28 +6,32 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# gt
|
||||
|
||||
> Create and manage sequences of dependent code changes (stacks) for Git and GitHub.
|
||||
> More information: <https://docs.graphite.dev>.
|
||||
|
||||
- Authenticate the CLI with Graphite's API:
|
||||
|
||||
`gt auth --token {{graphite_cli_auth_token}}`
|
||||
> More information: <https://graphite.dev/docs/get-started>.
|
||||
|
||||
- Initialise `gt` for the repository in the current directory:
|
||||
|
||||
`gt repo init`
|
||||
`gt init`
|
||||
|
||||
- Create a new branch stacked on top of the current branch and commit staged changes:
|
||||
|
||||
`gt branch create {{branch_name}}`
|
||||
`gt create {{branch_name}}`
|
||||
|
||||
- Create a new commit and fix upstack branches:
|
||||
|
||||
`gt commit create -m {{commit_message}}`
|
||||
`gt modify -cam {{commit_message}}`
|
||||
|
||||
- Force push all branches in the current stack to GitHub and create or update PRs:
|
||||
|
||||
`gt stack submit`
|
||||
|
||||
- Checkout different branch (prompts interactive mode when branch name is omitted):
|
||||
|
||||
`gt co {{branch_name}}`
|
||||
|
||||
- Sync stack with remote version (also deletes merged branches):
|
||||
|
||||
`gt sync`
|
||||
|
||||
- Log all tracked stacks:
|
||||
|
||||
`gt log short`
|
||||
|
||||
25
tldr/linux/ip-maddress
Normal file
25
tldr/linux/ip-maddress
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# ip maddress
|
||||
|
||||
> Manage multicast addresses.
|
||||
> More information: <https://manned.org/ip-maddress>.
|
||||
|
||||
- List multicast addresses and how many programs are subscribed to them:
|
||||
|
||||
`ip maddress`
|
||||
|
||||
- List device specific addresses:
|
||||
|
||||
`ip maddress show dev {{eth0}}`
|
||||
|
||||
- Join a multicast group statically:
|
||||
|
||||
`sudo ip maddress add {{33:33:00:00:00:02}} dev {{eth0}}`
|
||||
|
||||
- Leave a static multicast group:
|
||||
|
||||
`sudo ip maddress delete {{33:33:00:00:00:02}} dev {{eth0}}`
|
||||
37
tldr/whatweb
Normal file
37
tldr/whatweb
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# whatweb
|
||||
|
||||
> Next-generation web scanner.
|
||||
> More information: <https://morningstarsecurity.com/research/whatweb>.
|
||||
|
||||
- Scan websites/targets for web technologies:
|
||||
|
||||
`whatweb {{website1 website2 ...}}`
|
||||
|
||||
- Read targets/websites from a file:
|
||||
|
||||
`whatweb -i {{targets_file}}`
|
||||
|
||||
- Scan a website/target in verbose mode:
|
||||
|
||||
`whatweb -v {{example.com}}`
|
||||
|
||||
- Run an aggressive scan on a website:
|
||||
|
||||
`whatweb -a 3 {{example.com}}`
|
||||
|
||||
- Scan a network and suppress errors:
|
||||
|
||||
`whatweb --no-errors {{192.168.0.0/24}}`
|
||||
|
||||
- List plugins:
|
||||
|
||||
`whatweb -l`
|
||||
|
||||
- List plugin details:
|
||||
|
||||
`whatweb -I {{plugin_name}}`
|
||||
Reference in New Issue
Block a user