Skip to the content.

useful scripts

printenv | grep PATH

commands & tricks

check out @b0rk on twitter!

bash

[#bash #tricks #cheat-sheet]

bash

grep

[#grep]

grep

xargs

[#xargs #pipe]

xargs

ssh

copying public key on server using ssh

[#ssh #remote #server]

cat ~/.ssh/id_rsa.pub | ssh username@remote_host "mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys"

wait

[#wait #bash #timeout #port]

wait-for-it

./wait-for-it.sh -t 0 www.google.com:80 -- echo "google is up"