diff --git a/tldr/gt b/tldr/gt index d42c6ffb..b4519d87 100644 --- a/tldr/gt +++ b/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: . - -- Authenticate the CLI with Graphite's API: - -`gt auth --token {{graphite_cli_auth_token}}` +> More information: . - 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` diff --git a/tldr/linux/ip-maddress b/tldr/linux/ip-maddress new file mode 100644 index 00000000..837755d3 --- /dev/null +++ b/tldr/linux/ip-maddress @@ -0,0 +1,25 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# ip maddress + +> Manage multicast addresses. +> More information: . + +- 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}}` diff --git a/tldr/whatweb b/tldr/whatweb new file mode 100644 index 00000000..5d705687 --- /dev/null +++ b/tldr/whatweb @@ -0,0 +1,37 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# whatweb + +> Next-generation web scanner. +> More information: . + +- 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}}`