Last active
April 1, 2016 03:03
-
-
Save quickgrid/f9ea42a8512b6627f06a to your computer and use it in GitHub Desktop.
Shell script for deleteing all contents of the file passed in as argument
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Delete all the data in the passed argument file. | |
echo "" > "$1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment