I want to empty current file so I do: touch it, remove it and touch because I do not want to remove non-existing file; example
touch "$filenameTarget"
rm "$filenameTarget"
touch "$filenameTarget"
I want to be very careful with deletes. What is the correct philosophy here?
OS: Debian 8.5