Skip to content

Instantly share code, notes, and snippets.

@jiguosong
jiguosong / README.md
Created January 28, 2016 20:09 — forked from jdutta/README.md
Useful tips and tricks

Useful tips and tricks

@jiguosong
jiguosong / linux
Created January 28, 2016 20:08 — forked from jimboroberts/linux
Linux shell tips and tricks
Check if remote port is open with bash:
echo >/dev/tcp/8.8.8.8/53 && echo "open"
Suspend process:
Ctrl + z
Move process to foreground:
fg
Generate random hex number where n is number of characters: