mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
Update cheatsheets
This commit is contained in:
29
tldr/osx/mac-cleanup
Normal file
29
tldr/osx/mac-cleanup
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, osx]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# mac-cleanup
|
||||
|
||||
> A modern macOS cleanup tool to remove caches and junk.
|
||||
> More information: <https://github.com/mac-cleanup/mac-cleanup-py>.
|
||||
|
||||
- Start the cleanup process:
|
||||
|
||||
`mac-cleanup`
|
||||
|
||||
- Open the module configuration screen:
|
||||
|
||||
`mac-cleanup {{[-c|--configure]}}`
|
||||
|
||||
- Perform a dry-ru[n], showing what will be removed without actually deleting it:
|
||||
|
||||
`mac-cleanup {{[-n|--dry-run]}}`
|
||||
|
||||
- Specify the directory with custom cleanup [p]ath:
|
||||
|
||||
`mac-cleanup {{[-p|--custom-path]}} {{path/to/directory}}`
|
||||
|
||||
- Automatically acknowledge all warnings and continue with [f]orce:
|
||||
|
||||
`mac-cleanup -f`
|
||||
@@ -5,8 +5,9 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# rustscan
|
||||
|
||||
> Fast Port Scanner written in Rust with `nmap` built in.
|
||||
> More information: <https://github.com/RustScan/RustScan>.
|
||||
> Modern Port Scanner written in Rust.
|
||||
> Note: `nmap` must be installed for some of the examples below to work.
|
||||
> More information: <https://github.com/bee-san/RustScan/wiki>.
|
||||
|
||||
- Scan all ports of one or more comma-delimited addresses using the default values:
|
||||
|
||||
@@ -22,11 +23,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Scan a specific range of ports:
|
||||
|
||||
`rustscan {{[-r|--range]}} {{start-end}} {{[-a|--addresses]}} {{address_or_addresses}}`
|
||||
`rustscan {{[-r|--range]}} {{start}}-{{end}} {{[-a|--addresses]}} {{address_or_addresses}}`
|
||||
|
||||
- Add script arguments to `nmap`:
|
||||
- Invoke `nmap` functionalities (Nmap's OS detection and default scripts):
|
||||
|
||||
`rustscan {{[-a|--addresses]}} {{address_or_addresses}} -- -A -sC`
|
||||
`rustscan {{[-a|--addresses]}} {{address_or_addresses}} -- -O {{[-sC|--script=default]}}`
|
||||
|
||||
- Scan with custom batch size (default: 4500) and timeout (default: 1500ms):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user