how to clear data in a file in linux code example Example: bash command to empty textfile : > file.log