#!/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