Skip to content

Instantly share code, notes, and snippets.

@BenSlabbert
Created August 10, 2020 11:56
Show Gist options
  • Save BenSlabbert/4b0a7bcb229070b1204e2b4796a6b9ab to your computer and use it in GitHub Desktop.
Save BenSlabbert/4b0a7bcb229070b1204e2b4796a6b9ab to your computer and use it in GitHub Desktop.
create a file with cat
#!/bin/bash
cat <<EOF >hello.txt
# input file content here
# stop input with EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment