Skip to content

Instantly share code, notes, and snippets.

@bvanderlugt
Last active August 30, 2017 20:21
Show Gist options
  • Save bvanderlugt/a6027c75ff8cd75139d7e4fb34edf362 to your computer and use it in GitHub Desktop.
Save bvanderlugt/a6027c75ff8cd75139d7e4fb34edf362 to your computer and use it in GitHub Desktop.
Linux Trix

a better way to cat things into a file, use EOF!

cat > somethang.txt <<EOF
Yo we heard you like text in your text files so we put text inside your text.
EOF

make multiple dirs

sudo mkdir -p /var/lib/{kubelet,kube-proxy,kubernetes}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment