Skip to content

Instantly share code, notes, and snippets.

@zealfire
Last active May 20, 2018 18:10
Show Gist options
  • Save zealfire/5d2b36f758dd76de02d6bbed4ddc88f6 to your computer and use it in GitHub Desktop.
Save zealfire/5d2b36f758dd76de02d6bbed4ddc88f6 to your computer and use it in GitHub Desktop.
eval [arg ...]
The args are read and concatenated together into a single com-
mand. This command is then read and executed by the shell, and
its exit status is returned as the value of eval. If there are
no args, or only null arguments, eval returns 0.
ls is reporting the allocated size; du is reporting the amount of space actually used.
https://www.digitalocean.com/community/tutorials/how-to-use-netcat-to-establish-and-test-tcp-and-udp-connections-on-a-vps
https://www.linuxtechi.com/nc-ncat-command-examples-linux-systems/
netcat
netcat [options] host port
netcat -u host port
netcat -z -v domain.com 1-1000
netcat -z -n -v 198.51.100.0 1-1000 2>&1 | grep succeeded
netcat -l 4444
netcat domain.com 4444
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment