Skip to content

Instantly share code, notes, and snippets.

@questsin
Created February 20, 2019 16:48
Show Gist options
  • Save questsin/34fc6ebec520b073c3141e00956b9a39 to your computer and use it in GitHub Desktop.
Save questsin/34fc6ebec520b073c3141e00956b9a39 to your computer and use it in GitHub Desktop.
whoami
ip addr show
ip addr show eth0
hostname -i
#port forwarding witn netcat
nc -lp 45678 | nc -lp 45679
nc $ip $port
chmod +x script.js
file -I pub_xre_internal_staging_TuneEvent-2.txt
pub_xre_internal_staging_TuneEvent-2.txt: text/plain; charset=utf-8
iconv -f utf-8 -t ascii//TRANSLIT
split -l 200000 filename
#share a folder
pwd
mkdir share
apt-get update
apt-get install parallel
gnu parallel
| parallel -j400 --timeout 160 'bash ./1.sh {}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment