Skip to content

Instantly share code, notes, and snippets.

@ff4500
Created January 23, 2020 22:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ff4500/c82e8b5fc120cd91071f87189f8f8491 to your computer and use it in GitHub Desktop.
Save ff4500/c82e8b5fc120cd91071f87189f8f8491 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
filepath="$HOME/Desktop/"
filename="mysecondnewfile.txt"
touch ${filepath}${filename}
echo "I'm an echo. Enjoy your new file - now with content!"
echo "This is my test file." > "${filepath}${filename}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment