diff --git a/tldr/osx/mac-cleanup b/tldr/osx/mac-cleanup new file mode 100644 index 00000000..2c37eac5 --- /dev/null +++ b/tldr/osx/mac-cleanup @@ -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: . + +- 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` diff --git a/tldr/rustscan b/tldr/rustscan index 39506780..07c25f98 100644 --- a/tldr/rustscan +++ b/tldr/rustscan @@ -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: . +> Modern Port Scanner written in Rust. +> Note: `nmap` must be installed for some of the examples below to work. +> More information: . - 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):