diff --git a/tldr/ipscan b/tldr/ipscan new file mode 100644 index 00000000..9f82fb45 --- /dev/null +++ b/tldr/ipscan @@ -0,0 +1,34 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# ipscan + +> A fast network scanner designed to be simple to use. +> Also known as Angry IP Scanner. +> More information: . + +- Scan a specific IP address: + +`ipscan {{192.168.0.1}}` + +- Scan a range of IP addresses: + +`ipscan {{192.168.0.1-254}}` + +- Scan a range of IP addresses and save the results to a file: + +`ipscan {{192.168.0.1-254}} -o {{path/to/output.txt}}` + +- Scan IPs with a specific set of ports: + +`ipscan {{192.168.0.1-254}} -p {{80,443,22}}` + +- Scan with a delay between requests to avoid network congestion: + +`ipscan {{192.168.0.1-254}} -d {{200}}` + +- Display help: + +`ipscan --help` diff --git a/tldr/linux/pacgraph b/tldr/linux/pacgraph new file mode 100644 index 00000000..d0cd7fff --- /dev/null +++ b/tldr/linux/pacgraph @@ -0,0 +1,41 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# pacgraph + +> Draw a graph of installed packages to PNG/SVG/GUI/console. +> More information: . + +- Produce an SVG and PNG graph: + +`pacgraph` + +- Produce an SVG graph: + +`pacgraph --svg` + +- Print summary to console: + +`pacgraph --console` + +- Override the default filename/location (Note: Do not specify the file extension): + +`pacgraph --file={{path/to/file}}` + +- Change the color of packages that are not dependencies: + +`pacgraph --top={{color}}` + +- Change the color of package dependencies: + +`pacgraph --dep={{color}}` + +- Change the background color of a graph: + +`pacgraph --background={{color}}` + +- Change the color of links between packages: + +`pacgraph --link={{color}}` diff --git a/tldr/mkfifo b/tldr/mkfifo index 3566b3c1..a2d88c2c 100644 --- a/tldr/mkfifo +++ b/tldr/mkfifo @@ -11,3 +11,11 @@ source: https://github.com/tldr-pages/tldr.git - Create a named pipe at a given path: `mkfifo {{path/to/pipe}}` + +- Send data through a named pipe and send the command to the background: + +`echo {{"Hello World"}} > {{path/to/pipe}} &` + +- Receive data through a named pipe: + +`cat {{path/to/pipe}}`